Home

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

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 : public : 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