v2025.6.2
All Bundles

Logger

Logs messages to temporary files

Operations

ClearError

Clears the error log file

method : public : ClearError() ~ Nil

Return

TypeDescription
Niltrue if message is logged, false otherwise

ClearInfo

Clears the info log file

method : public : ClearInfo() ~ Nil

Return

TypeDescription
Niltrue if message is logged, false otherwise

ClearWarn

Clears the warning log file

method : public : ClearWarn() ~ Nil

Return

TypeDescription
Niltrue if message is logged, false otherwise

Error

Logs an error message

method : public : Error(message:String) ~ Bool

Parameters

NameTypeDescription
messageStringmessage to log

Return

TypeDescription
Booltrue if message is logged, false otherwise

GetDirectory

Gets the logging directory

method : public : GetDirectory() ~ String

Return

TypeDescription
Stringlogging directory

GetErrorFile

Gets path to error file

method : public : GetErrorFile() ~ String

Return

TypeDescription
Stringpath to error file

GetInfoFile

Gets path to information file

method : public : GetInfoFile() ~ String

Return

TypeDescription
Stringpath to information file

GetWarnFile

Gets path to warning file

method : public : GetWarnFile() ~ String

Return

TypeDescription
Stringpath to warning file

Info

Logs an informational message

method : public : Info(message:String) ~ Bool

Parameters

NameTypeDescription
messageStringmessage to log

Return

TypeDescription
Booltrue if message is logged, false otherwise

Instance

Gets an instance of the logger

function : Instance() ~ Logger

Return

TypeDescription
Loggerlogger instance

Warn

Logs a warning message

method : public : Warn(message:String) ~ Bool

Parameters

NameTypeDescription
messageStringmessage to log

Return

TypeDescription
Booltrue if message is logged, false otherwise