Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::logging::StdOutConsoleHandler Class Reference

List of all members.

Public Member Functions

 StdOutConsoleHandler (LogConfig logConfig, String loggerName)
void configureLogging (LogConfig newLogConfig)
void publish (LogRecord record)
void close ()

Private Attributes

LogConfig logConfig
String loggerName

Detailed Description

Copied over from ConsoleHandler, but using System.out instead of System.err.

Note that we can't inherit from ConsoleHandler and reset the output stream using setOutputStream(System.out), because this would yield a call to System.err.close().

Author:
hsommer created Jun 1, 2005 5:52:36 PM


Constructor & Destructor Documentation

alma::acs::logging::StdOutConsoleHandler::StdOutConsoleHandler LogConfig  logConfig,
String  loggerName
[inline]
 


Member Function Documentation

void alma::acs::logging::StdOutConsoleHandler::close  )  [inline]
 

Override StreamHandler.close to do a flush but not to close the output stream. That is, we do not close System.err.

void alma::acs::logging::StdOutConsoleHandler::configureLogging LogConfig  newLogConfig  )  [inline]
 

See also:
alma.acs.logging.config.LogConfigSubscriber::configureLogging(alma.acs.logging.config.LogConfig)

void alma::acs::logging::StdOutConsoleHandler::publish LogRecord  record  )  [inline]
 

Publish a LogRecord.

The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.

Parameters:
record description of the log event. A null record is silently ignored and is not published


Member Data Documentation

LogConfig alma::acs::logging::StdOutConsoleHandler::logConfig [private]
 

String alma::acs::logging::StdOutConsoleHandler::loggerName [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:40 2009 for ACS Java API by doxygen 1.3.8