public interface PaxLevel
LogService use higher numerical values for less
important logging events. Log4J1 and java.util.logging use higher numerical values for more important events.
This interface is based on Log4J1 and:
INFO is higher than DEBUG| 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 (is more important,
has bigger severity) than the level passed as argument, false otherwise. |
org.osgi.service.log.LogLevel |
toLevel()
Returns
LogLevel representation of this level. |
boolean isGreaterOrEqual(PaxLevel r)
true if this level has a higher or equal level (is more important,
has bigger severity) than the level passed as argument, false otherwise.r - the PaxLevel to compare with.false otherwise.org.osgi.service.log.LogLevel toLevel()
LogLevel representation of this level. In LogLevel enum, the higher the numerical
value (ordinal of the enum), the less important is the logging event with given level. When used as
threshold, the higher the numerical value, the less events are rejected (i.e., high threshold
means process even less important events).int getSyslogEquivalent()
Copyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.