Package | Description |
---|---|
org.apache.log4j |
Logging API of Apache Log4j 1.2 for tinylog 2.
|
Modifier and Type | Class and 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 and 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 and Description |
---|---|
static Priority[] |
Priority.getAllPossiblePriorities()
Deprecated.
This method will be removed with no replacement.
|
Priority |
Category.getChainedPriority()
Deprecated.
Please use the the
Category.getEffectiveLevel() method instead. |
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 and Description |
---|---|
protected void |
Category.forcedLog(String fqcn,
Priority level,
Object message,
Throwable t)
This method creates a new logging event and logs the event without further checks.
|
boolean |
Category.isEnabledFor(Priority level)
Check whether this category is enabled for a given
Level passed as parameter. |
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 t)
Log a localized and parameterized message.
|
void |
Category.l7dlog(Priority priority,
String key,
Throwable t)
Log a localized message.
|
void |
Category.log(Priority priority,
Object message)
This generic form is intended to be used by wrappers.
|
void |
Category.log(Priority priority,
Object message,
Throwable t)
This generic form is intended to be used by wrappers.
|
void |
Category.log(String callerFQCN,
Priority level,
Object message,
Throwable t)
This is the most generic printing method.
|
void |
Category.setPriority(Priority priority)
Deprecated.
Please use
Category.setLevel(org.apache.log4j.Level) 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,
Priority defaultPriority)
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
Copyright © 2020. All rights reserved.