public static boolean|string | #logLevel(string|null$level=null) Gets or sets the log level. If no parameter is passed, returns self::$logLevel, if it's set and has a valid value, sets it and returns TRUE; Gets or sets the log level. If no parameter is passed, returns self::$logLevel, if it's set and has a valid value, sets it and returns TRUE; Parameters- $level
string|null $level The logging level
Returnsboolean|string
AuthorSee |
public static string | #debug(string$msg,array$trace=null) Logs a debug level message Logs a debug level message Parameters- $msg
string $msg The message- $trace
array $trace optionally, supply the debug trace
Returnsstring The message you passed on
Author |
public static string | #warning(string$msg,array$trace=null) Logs a warning level message Logs a warning level message Parameters- $msg
string $msg The message- $trace
array $trace optionally, supply the debug trace
Returnsstring The message you passed on
Author |
public static string | #error(string$msg,array$trace=null) Logs a error level message Logs a error level message Parameters- $msg
string $msg The message- $trace
array $trace optionally, supply the debug trace
Returnsstring The message you passed on
Author |
protected static boolean | #doWrite(string$msg,string$level,array$trace=null) Performs the write operation Performs the write operation Parameters- $msg
string $msg The message to log- $level
string $level The level of the message- $trace
array $trace optionally, supply the debug trace
Returnsboolean
Author |