LazLogger: Comments / Ifdef'ed flush log

git-svn-id: trunk@60244 -
This commit is contained in:
martin 2019-01-29 19:47:46 +00:00
parent 591bb0ff09
commit a9f2cac891

View File

@ -70,6 +70,8 @@ type
{ TLazLoggerFileHandleThreadSave
file operations in critical section
Requires that DoOpenFile is called by main thread. Otherwise the filehandle may get closed...
}
TLazLoggerFileHandleThreadSave = class (TLazLoggerFileHandle)
@ -480,6 +482,7 @@ begin
if FActiveLogText = nil then exit;
Write(FActiveLogText^, s);
{$IFDEF LAZLOGGER_FLUSH} Flush(FActiveLogText^); {$ENDIF}
if FCloseLogFileBetweenWrites then
DoCloseFile;