Class Priority
java.lang.Object
org.apache.logging.log4j.core.net.Priority
The Priority used in the Syslog system. Calculated from the Facility and Severity values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the Facility.static intgetPriority(Facility facility, Level level) Returns the priority value based on the Facility and Log Level.Returns the Severity.intgetValue()Returns the value of this Priority.private static inttoPriority(Facility aFacility, Severity aSeverity) toString()
-
Field Details
-
facility
-
severity
-
-
Constructor Details
-
Priority
-
-
Method Details
-
getPriority
-
toPriority
-
getFacility
-
getSeverity
-
getValue
public int getValue()Returns the value of this Priority.- Returns:
- the value of this Priority.
-
toString
-