| Constructor and Description |
|---|
WriterLog(VMDebugCore debugCore,
Writer writer,
boolean flush)
Constructs a log for the given writer object.
|
| 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.
|
public WriterLog(VMDebugCore debugCore, Writer writer, boolean flush)
debugCore - writer - the writer object to receive the log record dataflush - if true, the writer gets flushed with every
record logged. If set to false, the flushing
behavior is dependent on the writer implementation usedIllegalArgumentException - if the passed writer is nullpublic void log(int level,
String message,
Object param)
Logpublic void log(int level,
String message)
Logpublic void log(String message, Object param)
LogCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.