Arch4J 1.1

org.arch4j.logging.sun
Class SunLoggingCategory

java.lang.Object
  |
  +--org.arch4j.logging.sun.SunLoggingCategory
All Implemented Interfaces:
LoggingCategory

public class SunLoggingCategory
extends Object
implements LoggingCategory

This class wraps the categorization of log messages within the Sun Java 1.4 logging facility.

Version:
$Revision: 1.1 $
Author:
Ross E. Greinke

Constructor Summary
SunLoggingCategory(String name)
          Creates a new SunLoggingCategory instance, defining a logging category for the given name.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunLoggingCategory

public SunLoggingCategory(String name)
Creates a new SunLoggingCategory instance, defining a logging category for the given name.

Parameters:
name - The name of the logging category.
Method Detail

debug

public void debug(Object message)
Description copied from interface: LoggingCategory
Log an object with debug priority.

Specified by:
debug in interface LoggingCategory

debug

public void debug(String message)
Description copied from interface: LoggingCategory
Log a message with debug priority.

Specified by:
debug in interface LoggingCategory

debug

public void debug(String message,
                  Throwable thrown)
Description copied from interface: LoggingCategory
Log a message with debug priority.

Specified by:
debug in interface LoggingCategory

error

public void error(Object message)
Description copied from interface: LoggingCategory
Log an object with the error priority.

Specified by:
error in interface LoggingCategory

error

public void error(String message)
Description copied from interface: LoggingCategory
Log a message with the error priority.

Specified by:
error in interface LoggingCategory

error

public void error(String message,
                  Throwable thrown)
Description copied from interface: LoggingCategory
Log a message with the error priority.

Specified by:
error in interface LoggingCategory

info

public void info(Object message)
Description copied from interface: LoggingCategory
Log an object with info priority.

Specified by:
info in interface LoggingCategory

info

public void info(String message)
Description copied from interface: LoggingCategory
Log a message with info priority.

Specified by:
info in interface LoggingCategory

info

public void info(String message,
                 Throwable thrown)
Description copied from interface: LoggingCategory
Log a message with info priority.

Specified by:
info in interface LoggingCategory

warning

public void warning(Object message)
Description copied from interface: LoggingCategory
Log an object with the warning priority.

Specified by:
warning in interface LoggingCategory

warning

public void warning(String message)
Description copied from interface: LoggingCategory
Log a message with the warning priority.

Specified by:
warning in interface LoggingCategory

warning

public void warning(String message,
                    Throwable thrown)
Description copied from interface: LoggingCategory
Log a message with the warning priority.

Specified by:
warning in interface LoggingCategory

getName

public String getName()
Description copied from interface: LoggingCategory
Return the logging category name.

Specified by:
getName in interface LoggingCategory

Arch4J 1.1

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