com.ibm.websphere.als
Interface Logger
- All Known Implementing Classes:
- DatabaseLogger, FileLogger, HttpLogger
- public interface Logger
This class defines interface for writing LogRecords to persistent storage
Method Summary java.lang.Object getStorageSource()
Returns the storage source associated with this Logger objectvoid write(LogRecord[] data)
Writes the data to the presistent medium
Method Detail write
public void write(LogRecord[] data) throws java.lang.Exception
- Writes the data to the presistent medium
- Parameters:
- data - array of LogRecords
- Throws:
- java.lang.Exception - when enable to write to storage
getStorageSource
public java.lang.Object getStorageSource()
- Returns the storage source associated with this Logger object
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.