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)
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
public int getSyslogEquivalent()
PaxLevel
getSyslogEquivalent
in interface PaxLevel
Copyright © 2019. All rights reserved.