This function logs args to stdout In order for the resulting log message to appear LogLevel must be greater or equal then globalLogLevel When using log!LogLevel.off or message it'll be displayed no matter the level of globalLogLevel
Flushes log file
This function logs args to stdout In order for the resulting log message to appear LogLevel must be greater or equal then globalLogLevel When using log!LogLevel.off or message it'll be displayed no matter the level of globalLogLevel
Sets or resets file for logging, supply unopened file or empty filepath to reset. If string path is supplies Log opens file in "W" mode (overwrites file contents)
Returns log file
Writes raw message to log
This function logs args to stdout In order for the resulting log message to appear LogLevel must be greater or equal then globalLogLevel When using log!LogLevel.off or message it'll be displayed no matter the level of globalLogLevel
Creates new line (br)
This function logs args to stdout In order for the resulting log message to appear LogLevel must be greater or equal then globalLogLevel When using log!LogLevel.off or message it'll be displayed no matter the level of globalLogLevel
Is File (logFile) allowed to be printed into
Is TTY (terminal) allowed to be printed into
Always flushes file after logging. might be slow, but will prevent data loss on crashes
Is formatting (colors) enabled
Log level (recommended to be set to LogLevel.warning on production)
Should output in format: File(Line): Type: Message