Inheritance diagram for Level:

Public Member Functions | |
| Level (int level, const String &levelStr, int syslogEquivalent) | |
| virtual bool | equals (const LevelPtr &level) const |
| virtual int | getSyslogEquivalent () const |
| virtual bool | isGreaterOrEqual (const LevelPtr &level) const |
| virtual const String & | toString () const |
| virtual int | toInt () const |
Static Public Member Functions | |
| const LevelPtr & | toLevel (const String &sArg) |
| const LevelPtr & | toLevel (int val) |
| const LevelPtr & | toLevel (int val, const LevelPtr &defaultLevel) |
| const LevelPtr & | toLevel (const String &sArg, const LevelPtr &defaultLevel) |
Static Public Attributes | |
| const LevelPtr | ALL |
| const LevelPtr | FATAL |
| const LevelPtr | ERROR |
| const LevelPtr | WARN |
| const LevelPtr | INFO |
| const LevelPtr | DEBUG |
| const LevelPtr | OFF |
OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL.
The Level class may be subclassed to define a larger level set.
|
||||||||||||||||
|
Instantiate a Level object. |
|
|
Two levels are equal if their level fields are equal. |
|
|
Return the syslog equivalent of this level as an integer. |
|
|
Returns
You should think twice before overriding the default implementation of |
|
|
Returns the integer representation of this level. |
|
||||||||||||
|
Convert the string passed as argument to a level. If the conversion fails, then this method returns the value of |
|
||||||||||||
|
Convert an integer passed as argument to a level. If the conversion fails, then this method returns the specified default. |
|
|
Convert an integer passed as argument to a level. If the conversion fails, then this method returns DEBUG. |
|
|
Convert the string passed as argument to a level. If the conversion fails, then this method returns DEBUG. |
|
|
Returns the string representation of this priority. |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
1.3.9.1