Class NLogger
Logger.
- NObject
- NLogger
public
boolean
|
#
log( string|array $message, integer $priority =
Logs message or exception to file and sends email notification. |
public static
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
string |
DEBUG
|
'debug' |
|
string |
INFO
|
'info' |
|
string |
WARNING
|
'warning' |
|
string |
ERROR
|
'error' |
|
string |
CRITICAL
|
'critical' |
public static
integer
|
$emailSnooze | 172800 |
#
interval for sending email is 2 days |
public
callable
|
$mailer | array(__CLASS__, 'defaultMailer') |
#
handler for sending emails |
public
string
|
$directory |
|
#
name of the directory where errors should be logged; FALSE means that logging is disabled |
public
string
|
|
#
email to sent error notifications |
$reflection
|