PHP Class Pimcore\Logger

ファイルを表示 Open project: pimcore/pimcore Class Usage Examples

Public Methods

Method Description
addLogger ( $logger, boolean | false $reset = false )
alert ( $m, $context = [] )
crit ( $m, $context = [] )
critical ( $m, $context = [] )
debug ( $m, $context = [] )
disable ( )
emerg ( $m, $context = [] )
emergency ( $m, $context = [] ) $l is for backward compatibility
enable ( )
err ( $m, $context = [] )
error ( $m, $context = [] )
getAvailablePriorities ( ) : array
getLogger ( ) : array
getPriorities ( ) : array return priorities, an array of log levels that will be logged by this logger
getZendLoggerPsr3Mapping ( ) : array
info ( $m, $context = [] )
initDummy ( )
log ( $message, $level = "info", array $context = [] )
notice ( $m, $context = [] )
removeLogger ( $logger )
resetLoggers ( )
setLogger ( $logger )
setPriorities ( $prios )
setVerbosePriorities ( )
warn ( $m, $context = [] )
warning ( $m, $context = [] )

Method Details

addLogger() public static method

public static addLogger ( $logger, boolean | false $reset = false )
$logger
$reset boolean | false

alert() public static method

public static alert ( $m, $context = [] )

crit() public static method

public static crit ( $m, $context = [] )

critical() public static method

public static critical ( $m, $context = [] )

debug() public static method

public static debug ( $m, $context = [] )

disable() public static method

public static disable ( )

emerg() public static method

public static emerg ( $m, $context = [] )

emergency() public static method

$l is for backward compatibility
public static emergency ( $m, $context = [] )

enable() public static method

public static enable ( )

err() public static method

public static err ( $m, $context = [] )

error() public static method

public static error ( $m, $context = [] )

getAvailablePriorities() public static method

public static getAvailablePriorities ( ) : array
return array

getLogger() public static method

public static getLogger ( ) : array
return array

getPriorities() public static method

return priorities, an array of log levels that will be logged by this logger
public static getPriorities ( ) : array
return array

getZendLoggerPsr3Mapping() public static method

public static getZendLoggerPsr3Mapping ( ) : array
return array

info() public static method

public static info ( $m, $context = [] )

initDummy() public static method

public static initDummy ( )

log() public static method

public static log ( $message, $level = "info", array $context = [] )
$message
$context array

notice() public static method

public static notice ( $m, $context = [] )

removeLogger() public static method

public static removeLogger ( $logger )
$logger

resetLoggers() public static method

public static resetLoggers ( )

setLogger() public static method

public static setLogger ( $logger )
$logger

setPriorities() public static method

public static setPriorities ( $prios )
$prios

setVerbosePriorities() public static method

public static setVerbosePriorities ( )

warn() public static method

public static warn ( $m, $context = [] )

warning() public static method

public static warning ( $m, $context = [] )