public class Priority extends Object
Constructor and Description |
---|
Priority(Facility facility,
Severity severity)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
public static int getPriority(Facility facility, Level level)
facility
- The Facility.level
- The Level.public Facility getFacility()
public Severity getSeverity()
public int getValue()
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.