Logs a [DEBUG] message to the log file.
Also echoes the message to the console.
Specifiy a logFile parameter to direct the logging to a file other than the default.
Takes an optional "eventid" param, which helps to link related events together.
Returns an eventid string. If one was supplied, it will be echoed back, else a new one will be generated for reuse.
Logs a [INFO] message to the log file.
Also echoes the message to the console.
Specifiy a logFile parameter to direct the logging to a file other than the default.
Takes an optional "eventid" param, which helps to link related events together.
Returns an eventid string. If one was supplied, it will be echoed back, else a new one will be generated for reuse.
Logs a [WARNING] message to the log file.
Also echoes the message to the console.
Specifiy a logFile parameter to direct the logging to a file other than the default.
Takes an optional "eventid" param, which helps to link related events together.
Returns an eventid string. If one was supplied, it will be echoed back, else a new one will be generated for reuse.
Logs a [ERROR] message to the log file.
Also echoes the message to the console.
Specifiy a logFile parameter to direct the logging to a file other than the default.
Takes an optional "eventid" param, which helps to link related events together.
Returns an eventid string. If one was supplied, it will be echoed back, else a new one will be generated for reuse.
Logs a [CRIICAL] message to the log file.
Also echoes the message to the console.
Specifiy a logFile parameter to direct the logging to a file other than the default.
Takes an optional "eventid" param, which helps to link related events together.
Returns an eventid string. If one was supplied, it will be echoed back, else a new one will be generated for reuse.
Logs a [EMERG] message to the log file.
Also echoes the message to the console.
Specifiy a logFile parameter to direct the logging to a file other than the default.
Takes an optional "eventid" param, which helps to link related events together.