net.sourceforge.acelogger
Interface Logger

All Superinterfaces:
Identifiable
All Known Implementing Classes:
BaseLogger, EmptyLogger, GenericLogger, InternalLogger, SimpleLogger

public interface Logger
extends Identifiable

A logging interface that provides the methods needed to manage log calls, abstracting the configuration to the framework.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Method Summary
 void debug(String message, Object... params)
          Creates a debug level log message, the final message will depend on the underlying Formatter and parameters.
 void debug(String message, Throwable cause, Object... params)
          Creates a debug level log message, the final message will depend on the underlying Formatter and parameters.
 void error(String message, Object... params)
          Creates a error level log message, the final message will depend on the underlying Formatter and parameters.
 void error(String message, Throwable cause, Object... params)
          Creates a error level log message, the final message will depend on the underlying Formatter and parameters.
 void fatal(String message, Object... params)
          Creates a fatal level log message, the final message will depend on the underlying Formatter and parameters.
 void fatal(String message, Throwable cause, Object... params)
          Creates a fatal level log message, the final message will depend on the underlying Formatter and parameters.
 void info(String message, Object... params)
          Creates a information level log message, the final message will depend on the underlying Formatter.
 void info(String message, Throwable cause, Object... params)
          Creates a information level log message, the final message will depend on the underlying Formatter.
 boolean isDebugEnabled()
          Checks the suitability of the debug level for this Logger.
 boolean isErrorEnabled()
          Checks the suitability of the error level for this Logger.
 boolean isFatalEnabled()
          Checks the suitability of the fatal level for this Logger.
 boolean isInfoEnabled()
          Checks the suitability of the information level for this Logger.
 boolean isTraceEnabled()
          Checks the suitability of the tracing level for this Logger.
 boolean isWarnEnabled()
          Checks the suitability of the warning level for this Logger.
 void trace(String message, Object... params)
          Creates a tracing level log message, the final message will depend on the underlying Formatter.
 void trace(String message, Throwable cause, Object... params)
          Creates a tracing level log message, the final message will depend on the underlying Formatter.
 void warn(String message, Object... params)
          Creates a warning level log message, the final message will depend on the underlying Formatter.
 void warn(String message, Throwable cause, Object... params)
          Creates a warning level log message, the final message will depend on the underlying Formatter.
 
Methods inherited from interface net.sourceforge.acelogger.Identifiable
getIdentifier
 

Method Detail

isTraceEnabled

boolean isTraceEnabled()
Checks the suitability of the tracing level for this Logger.

Returns:
True if the tracing level is suitable for this logger, false otherwise.
Since:
1.0.0

isDebugEnabled

boolean isDebugEnabled()
Checks the suitability of the debug level for this Logger.

Returns:
True if the debug level is suitable for this logger, false otherwise.
Since:
1.0.0

isInfoEnabled

boolean isInfoEnabled()
Checks the suitability of the information level for this Logger.

Returns:
True if the information level is suitable for this logger, false otherwise.
Since:
1.0.0

isWarnEnabled

boolean isWarnEnabled()
Checks the suitability of the warning level for this Logger.

Returns:
True if the warning level is suitable for this logger, false otherwise.
Since:
1.0.0

isErrorEnabled

boolean isErrorEnabled()
Checks the suitability of the error level for this Logger.

Returns:
True if the error level is suitable for this logger, false otherwise.
Since:
1.0.0

isFatalEnabled

boolean isFatalEnabled()
Checks the suitability of the fatal level for this Logger.

Returns:
True if the fatal level is suitable for this logger, false otherwise.
Since:
1.0.0

trace

void trace(String message,
           Object... params)
Creates a tracing level log message, the final message will depend on the underlying Formatter.

Parameters:
message - The message to be formatted and then logged.
params - The list of parameter used to format the message.
Since:
1.0.0

trace

void trace(String message,
           Throwable cause,
           Object... params)
Creates a tracing level log message, the final message will depend on the underlying Formatter.

Parameters:
message - The message to be formatted and then logged.
cause - The Throwable that originated this log call.
params - The list of parameter used to format the message.
Since:
1.0.0

debug

void debug(String message,
           Object... params)
Creates a debug level log message, the final message will depend on the underlying Formatter and parameters.

Parameters:
message - The message to be formatted and then logged.
params - The list of parameter used to format the message.
Since:
1.0.0

debug

void debug(String message,
           Throwable cause,
           Object... params)
Creates a debug level log message, the final message will depend on the underlying Formatter and parameters.

Parameters:
message - The message to be formatted and then logged.
cause - The Throwable that originated this log call.
params - The list of parameter used to format the message.
Since:
1.0.0

info

void info(String message,
          Object... params)
Creates a information level log message, the final message will depend on the underlying Formatter.

Parameters:
message - The message to be formatted and then logged.
params - The list of parameter used to format the message.
Since:
1.0.0

info

void info(String message,
          Throwable cause,
          Object... params)
Creates a information level log message, the final message will depend on the underlying Formatter.

Parameters:
message - The message to be formatted and then logged.
cause - The Throwable that originated this log call.
params - The list of parameter used to format the message.
Since:
1.0.0

warn

void warn(String message,
          Object... params)
Creates a warning level log message, the final message will depend on the underlying Formatter.

Parameters:
message - The message to be formatted and then logged.
params - The list of parameter used to format the message.
Since:
1.0.0

warn

void warn(String message,
          Throwable cause,
          Object... params)
Creates a warning level log message, the final message will depend on the underlying Formatter.

Parameters:
message - The message to be formatted and then logged.
cause - The Throwable that originated this log call.
params - The list of parameter used to format the message.
Since:
1.0.0

error

void error(String message,
           Object... params)
Creates a error level log message, the final message will depend on the underlying Formatter and parameters.

Parameters:
message - The message to be formatted and then logged.
params - The list of parameter used to format the message.
Since:
1.0.0

error

void error(String message,
           Throwable cause,
           Object... params)
Creates a error level log message, the final message will depend on the underlying Formatter and parameters.

Parameters:
message - The message to be formatted and then logged.
cause - The Throwable that originated this log call.
params - The list of parameter used to format the message.
Since:
1.0.0

fatal

void fatal(String message,
           Object... params)
Creates a fatal level log message, the final message will depend on the underlying Formatter and parameters.

Parameters:
message - The message to be formatted and then logged.
params - The list of parameter used to format the message.
Since:
1.0.0

fatal

void fatal(String message,
           Throwable cause,
           Object... params)
Creates a fatal level log message, the final message will depend on the underlying Formatter and parameters.

Parameters:
message - The message to be formatted and then logged.
cause - The Throwable that originated this log call.
params - The list of parameter used to format the message.
Since:
1.0.0


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.