Метод |
Описание |
|
alert ( $string ) |
Log an alert. |
|
critical ( $string ) |
Log a critical message. |
|
debug ( $string ) |
Debug messages are very verbose, and will contain more information than what is necessary for a production
system. |
|
emergency ( $string ) |
Log an emergency message. |
|
error ( $string ) |
Log an error. |
|
flush ( ) |
Flush any pending log messages to the logging handler. |
|
getCapturedLog ( ) |
Get the captured log. |
|
info ( $string ) |
Info messages are a bit less verbose than debug messages. This is useful to trace a session. |
|
isErrorMasked ( integer $errno ) : boolean |
Evaluate whether errors of a certain error level are masked or not. |
|
maskErrors ( integer $mask ) |
Disable error reporting for the given log levels. |
|
notice ( $string ) |
We reserve the notice level for statistics, so do not use this level for other kind of log messages. |
|
popErrorMask ( ) |
Pop an error mask. |
|
setCaptureLog ( $val = true ) |
Set the logger to capture logs. |
|
setTrackId ( $trackId ) |
Set the track identifier to use in all logs. |
|
stats ( $string ) |
Statistics. |
|
warning ( $string ) |
Log a warning. |
|