momelog
Interface LogListener
- All Known Implementing Classes:
- LogCanvas, LogFile
public interface LogListener
Interface that every class intended to process logging events should
implement. Contains the only method. onLog(LogEvent)
. This method
is called for processing generated logging events. Implementation of this
method should obtain Formatter
via Logger.getFormatter()
static method and use it to format logging event. Formatted logging
information should be presented to the user in a way this LogListener
is intended for (e.g. displayed on a screen, appended to a file, sent via
http/https, email or sms or putted in RMS).
- Version:
- 1.0
- Author:
- Sergio Morozov
Method Summary |
void |
onLog(LogEvent event)
Notifies LogListener implementation of logging event. |
onLog
void onLog(LogEvent event)
- Notifies
LogListener
implementation of logging event.
- Parameters:
event
- LogEvent
instance containing information about logging
event.- Since:
- 1.0