org.objectweb.util.monolog.api
Interface Level
- LevelImpl, LevelImpl, LevelImpl, LevelImpl
This class represents a logging level. A logging level allows to
classify events by their importance. This interface provides
methods to compare Level instances. A level has a name.
- S.Chassande-Barrioz
int | compareTo(Level o) - Compares this object with the specified object for order.
|
int | getIntValue() - Returns the integer value which represents the level.
|
String | getName() - It retrieves the name of the Level
|
boolean | isComparableWith(Level o) - This method returns true is the current level and the Level parameter are
ordered.
|
void | setName(String n) - It assigns the name of the Level
|
compareTo
public int compareTo(Level o)
Compares this object with the specified object for order. Returns a
negative integer, zero, or a positive integer as this object is less than,
equal to, or greater than the specified object.
getIntValue
public int getIntValue()
Returns the integer value which represents the level.
getName
public String getName()
It retrieves the name of the Level
isComparableWith
public boolean isComparableWith(Level o)
This method returns true is the current level and the Level parameter are
ordered.
setName
public void setName(String n)
It assigns the name of the Level