Class AbstractLogger

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

public abstract class AbstractLogger
extends Object
implements Logger

Abstract base class for Logger implementations.

Constructor Summary
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


public AbstractLogger()
Method Detail


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

Return a formatted message based on the specified 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.