Difference between revisions of "PHPLights/Documentation/liblights/LsLogger"
From Linuxnetworks
< PHPLights | Documentation | liblights
(initial) |
(update) |
||
| Line 2: | Line 2: | ||
abstract class LsLogger | abstract class LsLogger | ||
| − | implements | + | implements [[PHPLights/Documentation/Interfaces/LsListenerIface|LsListenerIface]] |
{ | { | ||
const Emergency = 0; | const Emergency = 0; | ||
Latest revision as of 16:36, 6 October 2007
Contents
Synopsis
abstract class LsLogger implements 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