@ThreadSafety(level=COMPLETELY_THREADSAFE) public interface LogWriter
Modifier and Type | Method and Description |
---|---|
void |
write(java.lang.CharSequence message)
Writes the given message to the underlying logger.
|
void write(java.lang.CharSequence message)
A timestamp will automatically be prepended to the message, and an end-of-line marker will be added to the end. The message can contain its own EOLs if it needs to span multiple lines, but the server will always add one at the very end.
message
- the message to log.