DOKK / manpages / debian 12 / liblog4tango-doc / log4tango::OstreamAppender.3.en
log4tango::OstreamAppender(3) log4tango log4tango::OstreamAppender(3)

log4tango::OstreamAppender

#include <OstreamAppender.hh>

Inherits log4tango::LayoutAppender.


OstreamAppender (const std::string &name, std::ostream *stream)
virtual ~OstreamAppender ()
virtual bool reopen ()
Reopens the output destination of this Appender, e.g. virtual void close ()
Release any resources allocated within the appender such as file handles, network connections, etc.


virtual int _append (const LoggingEvent &event)
Log in Appender specific way.


std::ostream * _stream

Log in Appender specific way. Subclasses of Appender should implement this method to perform actual logging.

Parameters

event The LoggingEvent to log.

Implements log4tango::Appender.

Release any resources allocated within the appender such as file handles, network connections, etc.

Implements log4tango::Appender.

Reopens the output destination of this Appender, e.g. the logfile or TCP socket.

Returns

false if an error occurred during reopening, true otherwise.

Reimplemented from log4tango::Appender.

Generated automatically by Doxygen for log4tango from the source code.

Fri Nov 11 2022 Version 5.0.2