Class LoggerManager

Description

Use the LoggerManager to get Logger instances.

  • author: Marco Vassura
  • version: $Revision: 556784 $
  • see: Logger
  • todo: create a configurator selector

Located in /LoggerManager.php (line 33)


	
			
Method Summary
static boolean exists (string $name)
static array getCurrentLoggers ()
static Logger getLogger (string $name, [LoggerFactory $factory = null])
static object getRootLogger ()
static boolean resetConfiguration ()
static void setRepositorySelector ( $selector,  $guard)
static void shutdown ()
Methods
static method exists (line 42)

check if a given logger exists.

  • access: public
static boolean exists (string $name)
  • string $name: logger name
static method getCurrentLoggers (line 54)

Returns an array this whole Logger instances.

static array getCurrentLoggers ()
static method getLogger (line 79)

Returns the specified Logger.

  • access: public
static Logger getLogger (string $name, [LoggerFactory $factory = null])
static method getLoggerRepository (line 90)

Returns the LoggerHierarchy.

  • access: public
static LoggerHierarchy getLoggerRepository ()
static method getRootLogger (line 66)

Returns the root logger.

static object getRootLogger ()
static method resetConfiguration (line 102)

Destroy loggers object tree.

  • access: public
static boolean resetConfiguration ()
static method setRepositorySelector (line 111)

Does nothing.

  • access: public
static void setRepositorySelector ( $selector,  $guard)
  • $selector
  • $guard
static method shutdown (line 120)

Safely close all appenders.

  • access: public
static void shutdown ()

Documentation generated by phpDocumentor 1.3.2