org.objectweb.util.monolog.api
Interface Level


public interface Level

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.

Author:
S.Chassande-Barrioz

Method Summary
 int compareTo(Level o)
          Compares this object with the specified object for order.
 int getIntValue()
          Returns the integer value which represents the level.
 java.lang.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(java.lang.String n)
          It assigns the name of the Level
 

Method Detail

isComparableWith

boolean isComparableWith(Level o)
This method returns true is the current level and the Level parameter are ordered.


compareTo

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

int getIntValue()
Returns the integer value which represents the level.


getName

java.lang.String getName()
It retrieves the name of the Level


setName

void setName(java.lang.String n)
It assigns the name of the Level