Modifier and Type | Class | Description |
---|---|---|
class |
Level |
Defines the minimum set of levels recognized by the system, that is
OFF , FATAL ,
ERROR , WARN , INFO , DEBUG and ALL . |
Modifier and Type | Field | Description |
---|---|---|
static Priority |
Priority.DEBUG |
Deprecated.
Use
Level.DEBUG instead. |
static Priority |
Priority.ERROR |
Deprecated.
Use
Level.ERROR instead. |
static Priority |
Priority.FATAL |
Deprecated.
Use
Level.FATAL instead. |
static Priority |
Priority.INFO |
Deprecated.
Use
Level.INFO instead. |
static Priority |
Priority.WARN |
Deprecated.
Use
Level.WARN instead. |
Modifier and Type | Method | Description |
---|---|---|
static Priority[] |
Priority.getAllPossiblePriorities() |
Deprecated.
This method will be removed with no replacement.
|
Priority |
Category.getChainedPriority() |
Deprecated.
Replaced by
Category.getEffectiveLevel() |
static Priority |
Priority.toPriority(int val) |
Deprecated.
Please use the
Level.toLevel(int) method instead. |
static Priority |
Priority.toPriority(int val,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(int, Level) method instead. |
static Priority |
Priority.toPriority(String sArg) |
Deprecated.
Please use the
Level.toLevel(String) method instead. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Category.isEnabledFor(Priority level) |
Check if a given logging level will be output.
|
boolean |
Priority.isGreaterOrEqual(Priority r) |
Returns
true if this level has a higher or equal
level than the level passed as argument, false
otherwise. |
void |
Category.l7dlog(Priority priority,
String key,
Object[] params,
Throwable throwable) |
Create a localized log entry.
|
void |
Category.l7dlog(Priority priority,
String key,
Throwable throwable) |
Create a localized log entry.
|
void |
Category.log(Priority level,
Object message) |
Create a log entry.
|
void |
Category.log(Priority level,
Object message,
Throwable throwable) |
Create a log entry.
|
static Priority |
Priority.toPriority(int val,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(int, Level) method instead. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
Copyright © 2019. All rights reserved.