org.apache.qpid.server.logging
Class CompositeStartupMessageLogger

java.lang.Object
  extended by org.apache.qpid.server.logging.AbstractRootMessageLogger
      extended by org.apache.qpid.server.logging.CompositeStartupMessageLogger
All Implemented Interfaces:
RootMessageLogger

public class CompositeStartupMessageLogger
extends AbstractRootMessageLogger


Field Summary
 
Fields inherited from class org.apache.qpid.server.logging.AbstractRootMessageLogger
DEFAULT_LOG_HIERARCHY_PREFIX
 
Constructor Summary
CompositeStartupMessageLogger(RootMessageLogger[] loggers)
           
 
Method Summary
 void rawMessage(String message, String logHierarchy)
          Log the raw message to the configured logger.
 void rawMessage(String message, Throwable throwable, String logHierarchy)
          Log the raw message to the configured logger.
 
Methods inherited from class org.apache.qpid.server.logging.AbstractRootMessageLogger
isEnabled, isMessageEnabled, isMessageEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeStartupMessageLogger

public CompositeStartupMessageLogger(RootMessageLogger[] loggers)
Method Detail

rawMessage

public void rawMessage(String message,
                       String logHierarchy)
Description copied from interface: RootMessageLogger
Log the raw message to the configured logger.

Specified by:
rawMessage in interface RootMessageLogger
Specified by:
rawMessage in class AbstractRootMessageLogger
Parameters:
message - The message to log
logHierarchy - The log hierarchy for this request

rawMessage

public void rawMessage(String message,
                       Throwable throwable,
                       String logHierarchy)
Description copied from interface: RootMessageLogger
Log the raw message to the configured logger. Along with a formated stack trace from the Throwable.

Specified by:
rawMessage in interface RootMessageLogger
Specified by:
rawMessage in class AbstractRootMessageLogger
Parameters:
message - The message to log
throwable - Optional Throwable that should provide stact trace
logHierarchy - The log hierarchy for this request


Licensed to the Apache Software Foundation