org.apache.qpid.server.logging
Interface LogActor

All Known Implementing Classes:
AbstractActor, AMQPChannelActor, AMQPConnectionActor, BrokerActor, GenericActor, ManagementActor, QueueActor, SubscriptionActor

public interface LogActor

LogActor the entity that is stored as in a ThreadLocal and used to perform logging. The actor is responsible for formatting its display name for the log entry. The actor performs the requested logging.


Method Summary
 String getLogMessage()
           
 RootMessageLogger getRootMessageLogger()
           
 void message(LogMessage message)
          Logs the specified LogMessage against this actor Currently logging has a global setting however this will later be revised and as such the LogActor will need to take into consideration any new configuration as a means of enabling the logging of LogActors and LogSubjects.
 void message(LogSubject subject, LogMessage message)
          Logs the specified LogMessage about the LogSubject Currently logging has a global setting however this will later be revised and as such the LogActor will need to take into consideration any new configuration as a means of enabling the logging of LogActors and LogSubjects.
 

Method Detail

message

void message(LogSubject subject,
             LogMessage message)
Logs the specified LogMessage about the LogSubject Currently logging has a global setting however this will later be revised and as such the LogActor will need to take into consideration any new configuration as a means of enabling the logging of LogActors and LogSubjects.

Parameters:
subject - The subject that is being logged
message - The message to log

message

void message(LogMessage message)
Logs the specified LogMessage against this actor Currently logging has a global setting however this will later be revised and as such the LogActor will need to take into consideration any new configuration as a means of enabling the logging of LogActors and LogSubjects.

Parameters:
message - The message to log

getRootMessageLogger

RootMessageLogger getRootMessageLogger()
Returns:
the RootMessageLogger that is currently in use by this LogActor.

getLogMessage

String getLogMessage()
Returns:
the String representing this LogActor


Licensed to the Apache Software Foundation