Logger.error

* Log an error message. * The type of the error is fatal so the program will exit with a status code of 1. * It starts with the current time + " -> LOG_ERROR: " * Params: * message = the error message * obj = current class reference, mostly you pass 'this'

class Logger
static
void
error
(
string message
,
string objectName
,
bool onlyToConsole = false
)

Meta