$log_levels
$log_levels : array
An array that contans the valid log levels
Simple static logging functionality that writes to files or STDERR
file(string $message, integer|string $level = 1, string $filename = 'workflow', boolean|integer $trace = false)
Log a message to a file
string | $message | the message to log |
integer|string | $level | the log level |
string | $filename | the filename of the log without an extension |
boolean|integer | $trace | how far back to trace |
log(string $message, integer|string $level = 1, string $filename = 'workflow', boolean|integer $trace = false)
Log a message to both a file and the console
string | $message | the message to log |
integer|string | $level | the log level |
string | $filename | the filename of the log without an extension |
boolean|integer | $trace | how far back to trace |