com.iparelan.util.logging
Interface Logger

All Known Implementing Classes:
LoggerImpl, UtilLogger

@Copyright(value="Copyright © 2008, Iparelan Solutions, LLC. All rights reserved.")
public interface Logger

A general logger interface

Version:
July 2008
Author:
Greg Mattes

Method Summary
 void config(String msg)
          Logs a message at the config level.
 void config(String msg, Throwable throwable)
          Logs a message at the config level.
 void fine(String msg)
          Logs a message at the fine level.
 void fine(String msg, Throwable throwable)
          Logs a message at the fine level.
 void finer(String msg)
          Logs a message at the finer level.
 void finer(String msg, Throwable throwable)
          Logs a message at the finer level.
 void finest(String msg)
          Logs a message at the finest level.
 void finest(String msg, Throwable throwable)
          Logs a message at the finest level.
 void info(String msg)
          Logs a message at the info level.
 void info(String msg, Throwable throwable)
          Logs a message at the info level.
 boolean isLoggableConfig()
          Tells whether messages at the config level will be logged.
 boolean isLoggableFine()
          Tells whether messages at the fine level will be logged.
 boolean isLoggableFiner()
          Tells whether messages at the finer level will be logged.
 boolean isLoggableFinest()
          Tells whether messages at the finest level will be logged.
 boolean isLoggableInfo()
          Tells whether messages at the info level will be logged.
 boolean isLoggableSevere()
          Tells whether messages at the severe level will be logged.
 boolean isLoggableWarning()
          Tells whether messages at the warning level will be logged.
 void severe(String msg)
          Logs a message at the severe level.
 void severe(String msg, Throwable throwable)
          Logs a message at the severe level.
 void warning(String msg)
          Logs a message at the warning level.
 void warning(String msg, Throwable throwable)
          Logs a message at the warning level.
 

Method Detail

config

void config(String msg)
Logs a message at the config level.

Parameters:
msg - The log message. May not be null.

config

void config(String msg,
            Throwable throwable)
Logs a message at the config level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

fine

void fine(String msg)
Logs a message at the fine level.

Parameters:
msg - The log message. May not be null.

fine

void fine(String msg,
          Throwable throwable)
Logs a message at the fine level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

finer

void finer(String msg)
Logs a message at the finer level.

Parameters:
msg - The log message. May not be null.

finer

void finer(String msg,
           Throwable throwable)
Logs a message at the finer level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

finest

void finest(String msg)
Logs a message at the finest level.

Parameters:
msg - The log message. May not be null.

finest

void finest(String msg,
            Throwable throwable)
Logs a message at the finest level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

info

void info(String msg)
Logs a message at the info level.

Parameters:
msg - The log message. May not be null.

info

void info(String msg,
          Throwable throwable)
Logs a message at the info level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

severe

void severe(String msg)
Logs a message at the severe level.

Parameters:
msg - The log message. May not be null.

severe

void severe(String msg,
            Throwable throwable)
Logs a message at the severe level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

warning

void warning(String msg)
Logs a message at the warning level.

Parameters:
msg - The log message. May not be null.

warning

void warning(String msg,
             Throwable throwable)
Logs a message at the warning level.

Parameters:
msg - The log message. May not be null.
throwable - The throwable associated with the log message. May not be null.

isLoggableConfig

boolean isLoggableConfig()
Tells whether messages at the config level will be logged.

Returns:
true if messages will be logged at the config level, otherwise false.

isLoggableFine

boolean isLoggableFine()
Tells whether messages at the fine level will be logged.

Returns:
true if messages will be logged at the fine level, otherwise false.

isLoggableFiner

boolean isLoggableFiner()
Tells whether messages at the finer level will be logged.

Returns:
true if messages will be logged at the finer level, otherwise false.

isLoggableFinest

boolean isLoggableFinest()
Tells whether messages at the finest level will be logged.

Returns:
true if messages will be logged at the finest level, otherwise false.

isLoggableInfo

boolean isLoggableInfo()
Tells whether messages at the info level will be logged.

Returns:
true if messages will be logged at the info level, otherwise false.

isLoggableSevere

boolean isLoggableSevere()
Tells whether messages at the severe level will be logged.

Returns:
true if messages will be logged at the severe level, otherwise false.

isLoggableWarning

boolean isLoggableWarning()
Tells whether messages at the warning level will be logged.

Returns:
true if messages will be logged at the warning level, otherwise false.


Copyright © 2008 Iparelan Solutions, LLC. All rights reserved.