nl.justobjects.pushlet.util
Interface PushletLogger

All Superinterfaces:
ConfigDefs
All Known Implementing Classes:
DefaultLogger, Log4jLogger

public interface PushletLogger
extends ConfigDefs

Logger interface to allow different logging providers.

Version:
$Id: PushletLogger.java,v 1.1 2007/12/07 12:57:40 justb Exp $
Author:
Ulrich Romahn

Field Summary
 
Fields inherited from interface nl.justobjects.pushlet.core.ConfigDefs
CONTROLLER_CLASS, DISPATCHER_CLASS, LISTEN_FORCE_PULL_AGENTS, LISTEN_FORCE_PULL_ALL, LOG_LEVEL, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, LOGGER_CLASS, POLL_REFRESH_TIMEOUT_MILLIS, POLL_REFRESH_WAIT_MAX_MILLIS, POLL_REFRESH_WAIT_MIN_MILLIS, PULL_REFRESH_TIMEOUT_MILLIS, PULL_REFRESH_WAIT_MAX_MILLIS, PULL_REFRESH_WAIT_MIN_MILLIS, QUEUE_READ_TIMEOUT_MILLIS, QUEUE_SIZE, QUEUE_WRITE_TIMEOUT_MILLIS, SESSION_CLASS, SESSION_ID_GENERATION, SESSION_ID_GENERATION_RANDOMSTRING, SESSION_ID_GENERATION_UUID, SESSION_ID_SIZE, SESSION_MANAGER_CLASS, SESSION_TIMEOUT_MINS, SOURCES_ACTIVATE, SUBSCRIBER_CLASS, SUBSCRIPTION_CLASS
 
Method Summary
 void debug(java.lang.String aMessage)
          Log message for debug level.
 void error(java.lang.String aMessage)
          Log message for error level.
 void error(java.lang.String aMessage, java.lang.Throwable aThrowable)
          Log message (error level with exception).
 void fatal(java.lang.String aMessage)
          Log message for fatal level.
 void fatal(java.lang.String aMessage, java.lang.Throwable aThrowable)
          Log message (fatal level with exception).
 void info(java.lang.String aMessage)
          Log message for info level.
 void init()
          Method allowing to initialize our logger
 void setLevel(int aLevel)
          Set log level
 void trace(java.lang.String aMessage)
          Log message for trace level.
 void warn(java.lang.String aMessage)
          Log message for warning level.
 void warn(java.lang.String aMessage, java.lang.Throwable aThrowable)
          Log message for warning level with exception.
 

Method Detail

init

void init()
Method allowing to initialize our logger


trace

void trace(java.lang.String aMessage)
Log message for trace level.

Parameters:
aMessage - the message to be logged

debug

void debug(java.lang.String aMessage)
Log message for debug level.

Parameters:
aMessage - the message to be logged

info

void info(java.lang.String aMessage)
Log message for info level.

Parameters:
aMessage - the message to be logged

warn

void warn(java.lang.String aMessage)
Log message for warning level.

Parameters:
aMessage - the message to be logged

warn

void warn(java.lang.String aMessage,
          java.lang.Throwable aThrowable)
Log message for warning level with exception.

Parameters:
aMessage - the message to be logged
aThrowable - the exception

error

void error(java.lang.String aMessage)
Log message for error level.

Parameters:
aMessage - the message to be logged

error

void error(java.lang.String aMessage,
           java.lang.Throwable aThrowable)
Log message (error level with exception).

Parameters:
aMessage - the message to be logged
aThrowable - the exception

fatal

void fatal(java.lang.String aMessage)
Log message for fatal level.

Parameters:
aMessage - the message to be logged

fatal

void fatal(java.lang.String aMessage,
           java.lang.Throwable aThrowable)
Log message (fatal level with exception).

Parameters:
aMessage - the message to be logged
aThrowable - the exception

setLevel

void setLevel(int aLevel)
Set log level

Parameters:
aLevel - a valid Level from ConfigDefs


Copyright 2000-2003 - Just Objects B.V.