# Functions
DeferFuncForRunLogDriver checks and sends logger errors to the system log.
FlushLog only used for Windows file logging.
SendEventsToLog dispatches log messages to the system journal based on the given priority.
SetLogFilePath only supported on Windows For non-Windows logs will be written to journald.
StartStackTraceHandler is used when the process catches signals, we will print the stack trace and write to system journal.