@Deprecated
public abstract class Logger
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static char |
CATEGORY_SEPARATOR
Deprecated.
Will be dropped in 3.3
|
| Constructor and Description |
|---|
Logger()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
debug(java.lang.String message)
Deprecated.
Log a debug priority event.
|
abstract void |
debug(java.lang.String message,
java.lang.Throwable throwable)
Deprecated.
Log a debug priority event.
|
abstract void |
error(java.lang.String message)
Deprecated.
Log a error priority event.
|
abstract void |
error(java.lang.String message,
java.lang.Throwable throwable)
Deprecated.
Log a error priority event.
|
abstract void |
fatalError(java.lang.String message)
Deprecated.
Log a fatalError priority event.
|
abstract void |
fatalError(java.lang.String message,
java.lang.Throwable throwable)
Deprecated.
Log a fatalError priority event.
|
abstract Logger |
getChildLogger(java.lang.String subCategory)
Deprecated.
Create a new child logger.
|
Logger[] |
getChildren()
Deprecated.
Will be dropped in 3.3
|
abstract void |
info(java.lang.String message)
Deprecated.
Log a info priority event.
|
abstract void |
info(java.lang.String message,
java.lang.Throwable throwable)
Deprecated.
Log a info priority event.
|
abstract boolean |
isDebugEnabled()
Deprecated.
Determine if messages of priority DEBUG will be logged.
|
abstract boolean |
isErrorEnabled()
Deprecated.
Determine if messages of priority ERROR will be logged.
|
abstract boolean |
isFatalErrorEnabled()
Deprecated.
Determine if messages of priority FATAL_ERROR will be logged.
|
abstract boolean |
isInfoEnabled()
Deprecated.
Determine if messages of priority INFO will be logged.
|
abstract boolean |
isPriorityEnabled(Priority priority)
Deprecated.
Determine if messages of priority will be logged.
|
abstract boolean |
isWarnEnabled()
Deprecated.
Determine if messages of priority WARN will be logged.
|
abstract void |
log(Priority priority,
java.lang.String message)
Deprecated.
Log a event at specific priority with a certain message.
|
abstract void |
log(Priority priority,
java.lang.String message,
java.lang.Throwable throwable)
Deprecated.
Log a event at specific priority with a certain message and throwable.
|
void |
setAdditivity(boolean additivity)
Deprecated.
Will be dropped in 3.3
|
void |
setLogTargets(LogTarget[] logTargets)
Deprecated.
Will be dropped in 3.3
|
void |
setPriority(Priority priority)
Deprecated.
Will be dropped in 3.3
|
void |
unsetLogTargets()
Deprecated.
Will be dropped in 3.3
|
void |
unsetLogTargets(boolean recursive)
Deprecated.
Will be dropped in 3.3
|
void |
unsetPriority()
Deprecated.
Will be dropped in 3.3
|
void |
unsetPriority(boolean recursive)
Deprecated.
Will be dropped in 3.3
|
abstract void |
warn(java.lang.String message)
Deprecated.
Log a warn priority event.
|
abstract void |
warn(java.lang.String message,
java.lang.Throwable throwable)
Deprecated.
Log a warn priority event.
|
@Deprecated public static final char CATEGORY_SEPARATOR
public abstract boolean isDebugEnabled()
public abstract void debug(java.lang.String message,
java.lang.Throwable throwable)
message - the messagethrowable - the throwablepublic abstract void debug(java.lang.String message)
message - the messagepublic abstract boolean isInfoEnabled()
public abstract void info(java.lang.String message,
java.lang.Throwable throwable)
message - the messagethrowable - the throwablepublic abstract void info(java.lang.String message)
message - the messagepublic abstract boolean isWarnEnabled()
public abstract void warn(java.lang.String message,
java.lang.Throwable throwable)
message - the messagethrowable - the throwablepublic abstract void warn(java.lang.String message)
message - the messagepublic abstract boolean isErrorEnabled()
public abstract void error(java.lang.String message,
java.lang.Throwable throwable)
message - the messagethrowable - the throwablepublic abstract void error(java.lang.String message)
message - the messagepublic abstract boolean isFatalErrorEnabled()
public abstract void fatalError(java.lang.String message,
java.lang.Throwable throwable)
message - the messagethrowable - the throwablepublic abstract void fatalError(java.lang.String message)
message - the message@Deprecated public void setAdditivity(boolean additivity)
additivity - true to make logger additive, false otherwisepublic abstract boolean isPriorityEnabled(Priority priority)
priority - the prioritypublic abstract void log(Priority priority, java.lang.String message, java.lang.Throwable throwable)
priority - the prioritymessage - the messagethrowable - the throwablepublic abstract void log(Priority priority, java.lang.String message)
priority - the prioritymessage - the message@Deprecated public void setPriority(Priority priority)
priority - the priority@Deprecated public void unsetPriority()
@Deprecated public void unsetPriority(boolean recursive)
recursive - true to unset priority of all child loggers@Deprecated public void setLogTargets(LogTarget[] logTargets)
logTargets - the Log Targets@Deprecated public void unsetLogTargets()
@Deprecated public void unsetLogTargets(boolean recursive)
recursive - the recursion policy@Deprecated public Logger[] getChildren()
public abstract Logger getChildLogger(java.lang.String subCategory)
subCategory - the subcategory of this loggerjava.lang.IllegalArgumentException - if subCategory has an empty element nameCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.