public interface Log
Modifier and Type | Field and Description |
---|---|
static Log |
NULL_LOG
The
null log instance, which has no real receiver of the
logged entries. |
Modifier and Type | Method and Description |
---|---|
void |
log(int level,
String message)
Logs a message at the specified logging level.
|
void |
log(int level,
String message,
Object param)
Logs a message with additional parameter at the specified logging level.
|
void |
log(String message)
Logs a message.
|
void |
log(String message,
Object param)
Logs a message with additional parameter.
|
static final Log NULL_LOG
null
log instance, which has no real receiver of the
logged entries.void log(int level, String message, Object param)
level
- the level value to which the resulting log record should applymessage
- the textual message to be loggedparam
- the parameter object to the messagevoid log(int level, String message)
level
- the level value to which the resulting log record should applymessage
- the textual message to be loggedvoid log(String message, Object param)
message
- the textual message to be loggedparam
- the parameter object to the messagevoid log(String message)
message
- the textual message to be loggedCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.