mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-15 14:22:57 -06:00
Merge branch 'master' of https://github.com/ultimatepp/ultimatepp
This commit is contained in:
commit
abe05eeee9
2 changed files with 5 additions and 0 deletions
|
|
@ -411,6 +411,8 @@ void StdLogSetup(dword options, const char *filepath, int filesize_limit)
|
|||
sLog.sizelimit = filesize_limit;
|
||||
if(filepath)
|
||||
strcpy(sLog.filepath, filepath);
|
||||
else
|
||||
SyncLogPath__();
|
||||
ReopenLog();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,6 +78,9 @@ cannot be used to e.g. LOG inside heap routines).]
|
|||
conversion of UTF8 characters, at the price of using heap (so
|
||||
cannot be used to e.g. LOG inside heap routines).]}}&]
|
||||
[s3; &]
|
||||
[s2; If [%-*@3 filepath] is nullptr, the path is set to the default
|
||||
location.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:StdLog`(`):%- [_^Stream^ Stream][@(0.0.255) `&]_[* StdLog]()&]
|
||||
[s2; Returns a reference to standard log stream.&]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue