org.apache.cocoon.core.logging
Interface PerRequestLoggerManager

All Superinterfaces:
LoggerManager
All Known Implementing Classes:
CocoonLogKitLoggerManager

public interface PerRequestLoggerManager
extends LoggerManager

This is an extension of the LoggerManager. It can be used to initialize a logging context on a per thread basis. This allows the logging implementation to access and log information about the current request.

Since:
2.2
Version:
$Id: PerRequestLoggerManager.java 225167 2005-07-25 19:24:01Z cziegeler $

Field Summary
 
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager
ROLE
 
Method Summary
 void cleanPerRequestLoggingContext(Object ctxMap)
          Clean up the logging context.
 Object initializePerRequestLoggingContext(Environment env)
          Initialize the context for logging.
 
Methods inherited from interface org.apache.avalon.excalibur.logger.LoggerManager
getDefaultLogger, getLoggerForCategory
 

Method Detail

initializePerRequestLoggingContext

public Object initializePerRequestLoggingContext(Environment env)
Initialize the context for logging.


cleanPerRequestLoggingContext

public void cleanPerRequestLoggingContext(Object ctxMap)
Clean up the logging context.



Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.