PHP Class Aerys\Logger

Inheritance: implements PsrLogger
Datei anzeigen Open project: amphp/aerys Class Usage Examples

Public Methods

Method Description
alert ( $message, array $context = [] )
critical ( $message, array $context = [] )
debug ( $message, array $context = [] )
emergency ( $message, array $context = [] )
error ( $message, array $context = [] )
info ( $message, array $context = [] )
log ( $level, $message, array $context = [] )
notice ( $message, array $context = [] )
warning ( $message, array $context = [] )

Protected Methods

Method Description
output ( string $message )
setAnsify ( string $mode )
setOutputLevel ( integer $outputLevel )

Private Methods

Method Description
ansify ( $level )
canEmit ( string $logLevel )
format ( $level, $message, array $context = [] )

Method Details

alert() final public method

final public alert ( $message, array $context = [] )
$context array

critical() final public method

final public critical ( $message, array $context = [] )
$context array

debug() final public method

final public debug ( $message, array $context = [] )
$context array

emergency() final public method

final public emergency ( $message, array $context = [] )
$context array

error() final public method

final public error ( $message, array $context = [] )
$context array

info() final public method

final public info ( $message, array $context = [] )
$context array

log() final public method

final public log ( $level, $message, array $context = [] )
$context array

notice() final public method

final public notice ( $message, array $context = [] )
$context array

output() abstract protected method

abstract protected output ( string $message )
$message string

setAnsify() final protected method

final protected setAnsify ( string $mode )
$mode string

setOutputLevel() final protected method

final protected setOutputLevel ( integer $outputLevel )
$outputLevel integer

warning() final public method

final public warning ( $message, array $context = [] )
$context array