com.unboundid.directory.sdk.common.types
Interface LogWriter


@ThreadSafety(level=COMPLETELY_THREADSAFE)
public interface LogWriter

This interface provides methods to interact with a log writer within the core server logging framework.


Method Summary
 void write(java.lang.CharSequence message)
          Writes the given message to the underlying logger.
 

Method Detail

write

void write(java.lang.CharSequence message)
Writes the given message to the underlying logger.

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.

Parameters:
message - the message to log.