Method |
Description |
|
__construct ( string $file, $level = self::DEBUG ) |
MC4WP_Debug_Log constructor. |
|
debug ( string $message ) : boolean |
|
|
error ( string $message ) : boolean |
|
|
get_level_name ( integer $level ) : string |
Gets the name of the logging level. |
|
info ( string $message ) : boolean |
|
|
log ( mixed $level, string $message ) : boolean |
|
|
test ( ) : boolean |
Tests if the log file is writable |
|
to_level ( $level ) : integer |
Converts PSR-3 levels to local ones if necessary |
|
warning ( string $message ) : boolean |
|
|