Class Levels
Class VSP_Log_Levels
Namespace: VSP\Modules\Logger
Author: Varun Sridharan varunsridharan23@gmail.com
Located at includes/modules/logger/class-levels.php
Author: Varun Sridharan varunsridharan23@gmail.com
Located at includes/modules/logger/class-levels.php
public static
integer
|
|
public static
boolean
|
|
public static
boolean|string
|
string |
EMERGENCY
Log Levels |
#
'emergency'
|
string |
ALERT
|
#
'alert'
|
string |
CRITICAL
|
#
'critical'
|
string |
ERROR
|
#
'error'
|
string |
WARNING
|
#
'warning'
|
string |
NOTICE
|
#
'notice'
|
string |
INFO
|
#
'info'
|
string |
DEBUG
|
#
'debug'
|
protected static
array
|
$level_to_severity
Level strings mapped to integer severity. |
#
array(
self::EMERGENCY => 800,
self::ALERT => 700,
self::CRITICAL => 600,
self::ERROR => 500,
self::WARNING => 400,
self::NOTICE => 300,
self::INFO => 200,
self::DEBUG => 100,
)
|
protected static
array
|
$severity_to_level
Severity integers mapped to level strings. |
#
array(
800 => self::EMERGENCY,
700 => self::ALERT,
600 => self::CRITICAL,
500 => self::ERROR,
400 => self::WARNING,
300 => self::NOTICE,
200 => self::INFO,
100 => self::DEBUG,
)
|