# Class LoggerRoot

The root logger.

  Logger
  LoggerRoot

Package: log4php
Version: $Revision: 1343190 $
See: ``Logger``
Located at LoggerRoot.php

Methods summary
`public` | # `__construct( `LoggerLevel` $level = null )` Constructor Constructor

#### Parameters

$level
  `integer`
  $level initial log level

#### Overrides

`Logger::__construct()`
`public `LoggerLevel`` | # `getEffectiveLevel( )`

#### Returns

``LoggerLevel``
the level

#### Overrides

`Logger::getEffectiveLevel()`
`public` | # `setLevel( `LoggerLevel` $level = null )` Override level setter to prevent setting the root logger's level to null. Root logger must always have a level. Override level setter to prevent setting the root logger's level to null. Root logger must always have a level.

#### Parameters

$level
  ``LoggerLevel``
  $level

#### Overrides

`Logger::setLevel()`
`public` | # `setParent( `Logger` $parent )` Override parent setter. Root logger cannot have a parent. Override parent setter. Root logger cannot have a parent.

#### Parameters

$parent
  ``Logger``
  $parent

#### Overrides

`Logger::setParent()`

Methods inherited from Logger
`addAppender(), assertLog(), callAppenders(), clear(), configure(), debug(), error(), exists(), fatal(), forcedLog(), getAdditivity(), getAllAppenders(), getAppender(), getCurrentLoggers(), getHierarchy(), getLevel(), getLogger(), getName(), getParent(), getRootLogger(), info(), isAttached(), isDebugEnabled(), isEnabledFor(), isErrorEnabled(), isFatalEnabled(), isInfoEnabled(), isTraceEnabled(), isWarnEnabled(), log(), logEvent(), removeAllAppenders(), removeAppender(), resetConfiguration(), setAdditivity(), trace(), warn()`