Arch4J 1.1

org.arch4j.logging
Interface LoggingCategory

All Known Implementing Classes:
FailsafeLoggingCategory, Log4JLoggingCategory, SunLoggingCategory

public interface LoggingCategory

This interface wraps the common activities needed for logging. Implementors are then free to use any existing logging facility to actually do the logging.

Version:
1.0
Author:
Ross E. Greinke

Method Summary
 void debug(Object message)
          Log an object with debug priority.
 void debug(String message)
          Log a message with debug priority.
 void debug(String message, Throwable thrown)
          Log a message with debug priority.
 void error(Object message)
          Log an object with the error priority.
 void error(String message)
          Log a message with the error priority.
 void error(String message, Throwable thrown)
          Log a message with the error priority.
 String getName()
          Return the logging category name.
 void info(Object message)
          Log an object with info priority.
 void info(String message)
          Log a message with info priority.
 void info(String message, Throwable thrown)
          Log a message with info priority.
 void warning(Object message)
          Log an object with the warning priority.
 void warning(String message)
          Log a message with the warning priority.
 void warning(String message, Throwable thrown)
          Log a message with the warning priority.
 

Method Detail

debug

public void debug(Object message)
Log an object with debug priority.


debug

public void debug(String message)
Log a message with debug priority.


debug

public void debug(String message,
                  Throwable thrown)
Log a message with debug priority.


error

public void error(Object message)
Log an object with the error priority.


error

public void error(String message)
Log a message with the error priority.


error

public void error(String message,
                  Throwable thrown)
Log a message with the error priority.


info

public void info(Object message)
Log an object with info priority.


info

public void info(String message)
Log a message with info priority.


info

public void info(String message,
                 Throwable thrown)
Log a message with info priority.


warning

public void warning(Object message)
Log an object with the warning priority.


warning

public void warning(String message)
Log a message with the warning priority.


warning

public void warning(String message,
                    Throwable thrown)
Log a message with the warning priority.


getName

public String getName()
Return the logging category name.


Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.