com.ibm.websphere.als
Interface Logger

All Known Implementing Classes:
DatabaseLogger, HttpLogger, FileLogger

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 object
 void 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