| Constructor and Description |
|---|
PaxLevelImpl(Level delegate) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString() |
public PaxLevelImpl(Level delegate)
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()
PaxLevelpublic int getSyslogEquivalent()
PaxLevelgetSyslogEquivalent in interface PaxLevelCopyright © 2016. All rights reserved.