com.go.trove.log
Interface LogListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Log, LogSerializer, LogScribe

public interface LogListener
extends java.util.EventListener

Simple event listener that can be added to a Log in order to receive LogEvents.

Version:
14 , 9/07/00
Author:
Brian S O'Neill

Method Summary
 void logException(LogEvent e)
          Called for LogEvents that should be logged as an exception.
 void logMessage(LogEvent e)
          Called for LogEvents that should be logged like an ordinary message.
 

Method Detail

logMessage

public void logMessage(LogEvent e)
Called for LogEvents that should be logged like an ordinary message.

logException

public void logException(LogEvent e)
Called for LogEvents that should be logged as an exception. The LogEvent object will likely have an Exception object in it.