Method |
Description |
|
__construct ( Pop\Log\Writer\WriterInterface $writer = null ) : Logger |
Constructor |
|
addWriter ( Pop\Log\Writer\WriterInterface $writer ) : Logger |
Method to add a log writer |
|
alert ( mixed $message, array $options = [] ) : Logger |
Method to add an ALERT log entry |
|
crit ( mixed $message, array $options = [] ) : Logger |
Method to add a CRIT log entry |
|
debug ( mixed $message, array $options = [] ) : Logger |
Method to add a DEBUG log entry |
|
emerg ( mixed $message, array $options = [] ) : Logger |
Method to add an EMERG log entry |
|
err ( mixed $message, array $options = [] ) : Logger |
Method to add an ERR log entry |
|
getTimestamp ( ) : string |
Method to get timestamp format |
|
getWriters ( ) : array |
Method to get all log writers |
|
info ( mixed $message, array $options = [] ) : Logger |
Method to add an INFO log entry |
|
log ( integer $priority, mixed $message, array $options = [] ) : Logger |
Method to add a log entry |
|
notice ( mixed $message, array $options = [] ) : Logger |
Method to add a NOTICE log entry |
|
setTimestamp ( string $format = 'Y-m-d H:i:s' ) : Logger |
Method to set timestamp format |
|
warn ( mixed $message, array $options = [] ) : Logger |
Method to add a WARN log entry |
|