PHPLights/Documentation/liblights/LsLogger
From Linuxnetworks
< PHPLights | Documentation | liblights
Contents
Synopsis
abstract class LsLogger implements LsLoggerIface, LsListenerIface { const Emergency = 0; const Alert = 1; const Critical = 2; const Error = 3; const Warning = 4; const Notice = 5; const Info = 6; const Debug = 7; protected $loglevel = LsLogger::Error; protected $levels = array( LsLogger::Emergency => 'Emergency', LsLogger::Alert => 'Alert', LsLogger::Critical => 'Critical', LsLogger::Error => 'Error', LsLogger::Warning => 'Warning', LsLogger::Notice => 'Notice', LsLogger::Info => 'Info', LsLogger::Debug => 'Debug' ); public function getLogLevel() public function setLogLevel( $level ) public function notifyFrom( LsPublisherIface $p ) }
Description
Public functions
getLogLevel()
public function getLogLevel()
setLogLevel()
public function setLogLevel( $level )
notifyFrom
public function notifyFrom( LsPublisherIface $p )
Back to Overview