SK.gnome.dwarf.log
Interface Logger

All Known Implementing Classes:
GenericLogger, LogServer

public interface Logger

Provides an interface for the logging services.

This interface should be implemented by services which can do the real logging, i.e. they are able to write the log messages to a particular physical store. Sometimes they are called also the logging adapters.


Method Summary
 void log(java.lang.String facility, LogLevel level, java.lang.String message)
          Logs the message with the given logging level and the logging facility.
 void log(java.lang.String facility, LogLevel level, java.lang.String message, java.lang.Throwable error)
          Logs the message and the error with the given logging level and the logging facility.
 

Method Detail

log

public void log(java.lang.String facility,
                LogLevel level,
                java.lang.String message)
Logs the message with the given logging level and the logging facility.

Parameters:
facility - the logging facility
level - the logging level
message - the message

log

public void log(java.lang.String facility,
                LogLevel level,
                java.lang.String message,
                java.lang.Throwable error)
Logs the message and the error with the given logging level and the logging facility.

Parameters:
facility - the logging facility
level - the logging level
message - the message
error - the error


Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.