|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ops4j.pax.logging.service.internal.PaxLevelImpl
public class PaxLevelImpl
Constructor Summary | |
---|---|
PaxLevelImpl(Level delegate)
|
Method Summary | |
---|---|
int |
getSyslogEquivalent()
Return the syslog equivalent of this priority as an integer. |
boolean |
isGreaterOrEqual(PaxLevel r)
Returns true if this level has a higher or equal
level than the level passed as argument, false
otherwise. |
int |
toInt()
Returns the integer representation of this level. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PaxLevelImpl(Level delegate)
Method Detail |
---|
public boolean isGreaterOrEqual(PaxLevel r)
PaxLevel
true
if this level has a higher or equal
level than the level passed as argument, false
otherwise.
You should think twice before overriding the default
implementation of isGreaterOrEqual
method.
isGreaterOrEqual
in interface PaxLevel
r
- the PaxLevel to compare with.
false
otherwise.public int toInt()
PaxLevel
toInt
in interface PaxLevel
public int getSyslogEquivalent()
PaxLevel
getSyslogEquivalent
in interface PaxLevel
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |