#include <StreamHandler.h>
Inheritance diagram for activemq::logger::StreamHandler:
Public Member Functions | |
StreamHandler (void) | |
StreamHandler (io::OutputStream *stream, Formatter *formatter) | |
virtual | ~StreamHandler (void) |
virtual void | close (void) throw ( cms::CMSException ) |
virtual void | flush (void) |
virtual void | publish (const LogRecord &record) |
virtual void | isLoggable (const LogRecord &record) |
virtual void | setFilter (const Filter *filter) |
virtual const Filter * | getFilter (void) |
virtual void | setLevel (Level level) |
virtual Level | getLevel (void) |
virtual void | setFormatter (const Formatter *formatter) |
virtual const Formatter * | getFormatter (void) |
virtual io::OutputStream * | getOutputStream (void) const (return stream |
Private Attributes | |
io::OutputStream * | stream |
Formatter * | formatter |
Filter * | filter |
|
Create a StreamHandler, with no current output stream. |
|
Create a StreamHandler, with no current output stream. |
|
Destructor |
|
Close the current output stream. The close method will perform a flush and then close the Handler. After close has been called this Handler should no longer be used. Method calls may either be silently ignored or may throw runtime exceptions.
|
|
Flush the Handler's output, clears any buffers. Implements activemq::logger::Handler. |
|
Gets the Filter that this Handler uses to filter Log Records
Implements activemq::logger::Handler. |
|
Gets the
Implements activemq::logger::Handler. |
|
Get the log level specifying which message levels will be logged by this Handler.
Implements activemq::logger::Handler. |
|
Gets the output Stream that this Handler is using
|
|
Check if this Handler would actually log a given LogRecord.
Implements activemq::logger::Handler. |
|
Publish the Log Record to this Handler
Implements activemq::logger::Handler. |
|
Sets the Filter that this Handler uses to filter Log Records
Implements activemq::logger::Handler. |
|
Sets the
Implements activemq::logger::Handler. |
|
Set the log level specifying which message levels will be logged by this Handler. The intention is to allow developers to turn on voluminous logging, but to limit the messages that are sent to certain Handlers.
Implements activemq::logger::Handler. |
|
|
|
|
|
|