|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.net.Priority
public class Priority
The Priority used in the Syslog system. Calculated from the Facility and Severity values.
| Constructor Summary | |
|---|---|
Priority(Facility facility,
Severity severity)
The Constructor. |
|
| Method Summary | |
|---|---|
Facility |
getFacility()
Returns the Facility. |
static int |
getPriority(Facility facility,
Level level)
Returns the priority value based on the Facility and Log Level. |
Severity |
getSeverity()
Returns the Severity. |
int |
getValue()
Returns the value of this Priority. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Priority(Facility facility,
Severity severity)
facility - The Facility.severity - The Severity.| Method Detail |
|---|
public static int getPriority(Facility facility,
Level level)
facility - The Facility.level - The Level.
public Facility getFacility()
public Severity getSeverity()
public int getValue()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||