This commit is contained in:
Mirek Fidler 2026-07-29 23:35:16 +02:00
commit abe05eeee9
2 changed files with 5 additions and 0 deletions

View file

@ -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();
}

View file

@ -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.&]