log() public method
Logs a message with the given type and category. If $traceLevel is greater than 0, additional call stack information about the application code will be logged as well.
public void log ( $message, $level, $category = 'application' )$message
string|array
The message to be logged. This can be a simple string or a more complex data structure that will be handled by a log target. $level integer
The level of the message. This must be one of the following: Logger::LEVEL_