Inheritance diagram for RootCategory:
Public Member Functions | |
RootCategory (const LevelPtr &level) | |
virtual const LevelPtr & | getEffectiveLevel () |
void | setLevel (const LevelPtr &level) |
First, it cannot be assigned a null level. Second, since root logger cannot have a parent, the getEffectiveLevel method always returns the value of the level field without walking the hierarchy.
|
The root logger names itself as "root". However, the root logger cannot be retrieved by name. |
|
Return the assigned level value without walking the category hierarchy. |
|
Setting a null value to the level of the root category may have catastrophic results. We prevent this here. Reimplemented from Logger. |