org.apache.shale.remoting.logger
Class AbstractLogger

java.lang.Object
  extended by org.apache.shale.remoting.logger.AbstractLogger
All Implemented Interfaces:
Logger
Direct Known Subclasses:
CommonsLogger, DefaultLogger, JdkLogger

public abstract class AbstractLogger
extends Object
implements Logger

Abstract base class for Logger implementations.


Constructor Summary
AbstractLogger()
           
 
Method Summary
protected  String message(String message, Object[] params)
          Return a formatted message based on the specified parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.shale.remoting.logger.Logger
debug, error, fatal, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, warn
 

Constructor Detail

AbstractLogger

public AbstractLogger()
Method Detail

message

protected String message(String message,
                         Object[] params)

Return a formatted message based on the specified parameters.

Parameters:
message - Message string (treated as a message format if the params parameter has one or more elements)
params - Substitution parameters for a message format string, or null if there are no such parameters


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.