com.tivoli.jflt
Interface LogAdapter

All Known Implementing Classes:
CircularBufferAdapter, StandardAdapter

public interface LogAdapter
extends BasicLogger, java.io.Serializable

This is the interface for JFLT logging plug-ins. Implementations of this interface provide JFLT specializations based on specific logging mechanisms. This interface provides methods for writing text messages only.

Version:
1.1
Author:
Cosimo Vampo, Raimondo Castino

Method Summary
 void dumpQueue(LogAdapter adapter)
          Dumps the contents of all buffered log items (if any) to the adapter's output device.
 void log(LogItem item)
          Logs the content of a LogItem object.
 
Methods inherited from interface com.tivoli.jflt.BasicLogger
isLogging, log, setLogging
 

Method Detail

log

public void log(LogItem item)
Logs the content of a LogItem object. This method is usually used internally.

dumpQueue

public void dumpQueue(LogAdapter adapter)
Dumps the contents of all buffered log items (if any) to the adapter's output device. Classes implementing this interface could implement this method without providing any code (empty method).