PHPLights/Documentation/liblights/LsLogger

From Linuxnetworks
< PHPLights‎ | Documentation‎ | liblights
Revision as of 16:36, 6 October 2007 by Nose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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