org.apache.yoko.orb.OB
Class Logger_impl

java.lang.Object
  extended by org.apache.yoko.orb.OB.Logger_impl
All Implemented Interfaces:
Logger

public class Logger_impl
extends Object
implements Logger


Constructor Summary
Logger_impl()
           
 
Method Summary
 void debug(String msg)
          Log a debug message.
 void debug(String msg, Throwable e)
          Log a debug message.
 void error(String msg)
          Log an error message.
 void error(String msg, Throwable e)
          Log an error message.
 void info(String msg)
          Log an informational message.
 void info(String msg, Throwable e)
          Log an informational message.
 boolean isDebugEnabled()
          Test if debug output is enabled for this logger.
 void log(Level level, String msg)
          Log a message of the indicated level.
 void log(Level level, String msg, Object param)
          Log a message of the indicated level.
 void log(Level level, String msg, Object[] params)
          Log a message of the indicated level.
 void log(Level level, String msg, Throwable thrown)
          Log a message of the indicated level.
 void trace(String category, String msg)
          Log a trace message.
 void warning(String msg)
          Log a warning message.
 void warning(String msg, Throwable e)
          Log a warning message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger_impl

public Logger_impl()
Method Detail

info

public void info(String msg)
Description copied from interface: Logger
Log an informational message.

Specified by:
info in interface Logger
Parameters:
msg - The message.

info

public void info(String msg,
                 Throwable e)
Description copied from interface: Logger
Log an informational message.

Specified by:
info in interface Logger
Parameters:
msg - The message.
e - An exception associated with the error.

error

public void error(String msg)
Description copied from interface: Logger
Log an error message.

Specified by:
error in interface Logger
Parameters:
msg - The error message.

error

public void error(String msg,
                  Throwable e)
Description copied from interface: Logger
Log an error message.

Specified by:
error in interface Logger
Parameters:
msg - The error message.
e - An exception associated with the error.

warning

public void warning(String msg)
Description copied from interface: Logger
Log a warning message.

Specified by:
warning in interface Logger
Parameters:
msg - The warning message.

warning

public void warning(String msg,
                    Throwable e)
Description copied from interface: Logger
Log a warning message.

Specified by:
warning in interface Logger
Parameters:
msg - The warning message.
e - An exception associated with the warning.

debug

public void debug(String msg)
Description copied from interface: Logger
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
msg - The debug message.

debug

public void debug(String msg,
                  Throwable e)
Description copied from interface: Logger
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
msg - The debug message.
e - An exception associated with the warning.

isDebugEnabled

public boolean isDebugEnabled()
Description copied from interface: Logger
Test if debug output is enabled for this logger.

Specified by:
isDebugEnabled in interface Logger
Returns:
True if debug logging is enabled, false if debug output is not enabled.

trace

public void trace(String category,
                  String msg)
Description copied from interface: Logger
Log a trace message.

Specified by:
trace in interface Logger
Parameters:
category - The trace category.
msg - The trace message.

log

public void log(Level level,
                String msg)
Log a message of the indicated level.

Specified by:
log in interface Logger
Parameters:
level - The message level.
msg - The logged message.

log

public void log(Level level,
                String msg,
                Object param)
Log a message of the indicated level.

Specified by:
log in interface Logger
Parameters:
level - The message level.
msg - The logged message.
param - A single parameter object included with the message.

log

public void log(Level level,
                String msg,
                Object[] params)
Log a message of the indicated level.

Specified by:
log in interface Logger
Parameters:
level - The message level.
msg - The logged message.
params - An array of parameter objects logged with the message.

log

public void log(Level level,
                String msg,
                Throwable thrown)
Log a message of the indicated level.

Specified by:
log in interface Logger
Parameters:
level - The message level.
msg - The logged message.
thrown - An exception object included in the log.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.