public static class CategoryLogger.DelegateLogger extends Object
Constructor and Description |
---|
DelegateLogger(boolean log) |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object object)
Create a debug log entry that will always be output, independent of LogCategory settings.
|
void |
debug(String message)
Create a debug log entry that will always be output, independent of LogCategory settings.
|
void |
debug(String message,
Object... arguments)
Create a debug log entry that will always be output, independent of LogCategory settings.
|
void |
debug(Throwable exception)
Create a debug log entry that will always be output, independent of LogCategory settings.
|
void |
debug(Throwable exception,
String message)
Create a debug log entry that will always be output, independent of LogCategory settings.
|
void |
debug(Throwable exception,
String message,
Object... arguments)
Create a debug log entry that will always be output, independent of LogCategory settings.
|
void |
error(Object object)
Create a error log entry that will always be output, independent of LogCategory settings.
|
void |
error(String message)
Create a error log entry that will always be output, independent of LogCategory settings.
|
void |
error(String message,
Object... arguments)
Create a error log entry that will always be output, independent of LogCategory settings.
|
void |
error(Throwable exception)
Create a error log entry that will always be output, independent of LogCategory settings.
|
void |
error(Throwable exception,
String message)
Create a error log entry that will always be output, independent of LogCategory settings.
|
void |
error(Throwable exception,
String message,
Object... arguments)
Create a error log entry that will always be output, independent of LogCategory settings.
|
void |
info(Object object)
Create a info log entry that will always be output, independent of LogCategory settings.
|
void |
info(String message)
Create a info log entry that will always be output, independent of LogCategory settings.
|
void |
info(String message,
Object... arguments)
Create a info log entry that will always be output, independent of LogCategory settings.
|
void |
info(Throwable exception)
Create a info log entry that will always be output, independent of LogCategory settings.
|
void |
info(Throwable exception,
String message)
Create a info log entry that will always be output, independent of LogCategory settings.
|
void |
info(Throwable exception,
String message,
Object... arguments)
Create a info log entry that will always be output, independent of LogCategory settings.
|
void |
trace(Object object)
Create a trace log entry that will always be output, independent of LogCategory settings.
|
void |
trace(String message)
Create a trace log entry that will always be output, independent of LogCategory settings.
|
void |
trace(String message,
Object... arguments)
Create a trace log entry that will always be output, independent of LogCategory settings.
|
void |
trace(Throwable exception)
Create a trace log entry that will always be output, independent of LogCategory settings.
|
void |
trace(Throwable exception,
String message)
Create a trace log entry that will always be output, independent of LogCategory settings.
|
void |
trace(Throwable exception,
String message,
Object... arguments)
Create a trace log entry that will always be output, independent of LogCategory settings.
|
void |
warn(Object object)
Create a warn log entry that will always be output, independent of LogCategory settings.
|
void |
warn(String message)
Create a warn log entry that will always be output, independent of LogCategory settings.
|
void |
warn(String message,
Object... arguments)
Create a warn log entry that will always be output, independent of LogCategory settings.
|
void |
warn(Throwable exception)
Create a warn log entry that will always be output, independent of LogCategory settings.
|
void |
warn(Throwable exception,
String message)
Create a warn log entry that will always be output, independent of LogCategory settings.
|
void |
warn(Throwable exception,
String message,
Object... arguments)
Create a warn log entry that will always be output, independent of LogCategory settings.
|
public DelegateLogger(boolean log)
log
- indicate whether we should log or not.public void trace(Object object)
object
- Object; the result of the toString()
method of object
will be loggedpublic void trace(String message)
message
- String; the message to logpublic void trace(String message, Object... arguments)
message
- String; the message to be logged, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void trace(Throwable exception)
exception
- Throwable; the exception to logpublic void trace(Throwable exception, String message)
exception
- Throwable; the exception to logmessage
- String; the message to logpublic void trace(Throwable exception, String message, Object... arguments)
exception
- Throwable; the exception to logmessage
- String; the message to log, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void debug(Object object)
object
- Object; the result of the toString()
method of object
will be loggedpublic void debug(String message)
message
- String; the message to logpublic void debug(String message, Object... arguments)
message
- String; the message to be logged, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void debug(Throwable exception)
exception
- Throwable; the exception to logpublic void debug(Throwable exception, String message)
exception
- Throwable; the exception to logmessage
- String; the message to logpublic void debug(Throwable exception, String message, Object... arguments)
exception
- Throwable; the exception to logmessage
- String; the message to log, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void info(Object object)
object
- Object; the result of the toString()
method of object
will be loggedpublic void info(String message)
message
- String; the message to logpublic void info(String message, Object... arguments)
message
- String; the message to be logged, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void info(Throwable exception)
exception
- Throwable; the exception to logpublic void info(Throwable exception, String message)
exception
- Throwable; the exception to logmessage
- String; the message to logpublic void info(Throwable exception, String message, Object... arguments)
exception
- Throwable; the exception to logmessage
- String; the message to log, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void warn(Object object)
object
- Object; the result of the toString()
method of object
will be loggedpublic void warn(String message)
message
- String; the message to logpublic void warn(String message, Object... arguments)
message
- String; the message to be logged, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void warn(Throwable exception)
exception
- Throwable; the exception to logpublic void warn(Throwable exception, String message)
exception
- Throwable; the exception to logmessage
- String; the message to logpublic void warn(Throwable exception, String message, Object... arguments)
exception
- Throwable; the exception to logmessage
- String; the message to log, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void error(Object object)
object
- Object; the result of the toString()
method of object
will be loggedpublic void error(String message)
message
- String; the message to logpublic void error(String message, Object... arguments)
message
- String; the message to be logged, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringpublic void error(Throwable exception)
exception
- Throwable; the exception to logpublic void error(Throwable exception, String message)
exception
- Throwable; the exception to logmessage
- String; the message to logpublic void error(Throwable exception, String message, Object... arguments)
exception
- Throwable; the exception to logmessage
- String; the message to log, where {} entries will be replaced by argumentsarguments
- Object...; the arguments to substitute for the {} entries in the message stringCopyright © 2014–2018 Delft University of Technology. All rights reserved.