|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.logging.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)
PaxLeveltrue 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 PaxLevelr - the PaxLevel to compare with.
false otherwise.public int toInt()
PaxLevel
toInt in interface PaxLevelpublic int getSyslogEquivalent()
PaxLevel
getSyslogEquivalent in interface PaxLevelpublic 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 | |||||||||