Skip to content

FunctionGetLogDiskWriter

Juan Antonio Castillo edited this page Feb 23, 2022 · 2 revisions

Unit: ujachLogAuto

Declaration: function GetLogDiskWriter: TjachLogToDisk;

GetLogDiskWriter function

This function returns the instance of TjachLogToDisk that is auto-created and configured at program start by the ujachLogAuto unit.

You can use this function to get access to the log writer object to change it's default configuration (output path, file name prefix/suffix, max line size, max file size, etc). Be careful and make the configuration changes in the main thread and before any log output is written for consistency.