Apache Log4cxx  Version 1.8.0
Loading...
Searching...
No Matches
log4cxx::helpers::OutputStreamWriter Class Reference

Abstract class for writing to character streams. More...

#include <outputstreamwriter.h>

Inheritance diagram for log4cxx::helpers::OutputStreamWriter:
log4cxx::helpers::Writer log4cxx::helpers::Object

Public Member Functions

 OutputStreamWriter (LOG4CXX_16_CONST OutputStreamPtr &out)
 OutputStreamWriter (LOG4CXX_16_CONST OutputStreamPtr &out, LOG4CXX_16_CONST CharsetEncoderPtr &enc)
 ~OutputStreamWriter ()
void close (helpers::Pool &p) override
void flush (helpers::Pool &p) override
void write (const LogString &str, helpers::Pool &p) override
LogString getEncoding () const
OutputStreamPtr getOutputStreamPtr () const
void close ()
void flush ()
void write (const LogString &str)
Public Member Functions inherited from log4cxx::helpers::Writer
void close ()
void flush ()
void write (const LogString &str)
Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual const helpers::ClassgetClass () const =0
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

Additional Inherited Members

Protected Member Functions inherited from log4cxx::helpers::Writer
 Writer ()
virtual ~Writer ()

Detailed Description

Abstract class for writing to character streams.

Constructor & Destructor Documentation

◆ OutputStreamWriter() [1/2]

log4cxx::helpers::OutputStreamWriter::OutputStreamWriter ( LOG4CXX_16_CONST OutputStreamPtr & out)

◆ OutputStreamWriter() [2/2]

log4cxx::helpers::OutputStreamWriter::OutputStreamWriter ( LOG4CXX_16_CONST OutputStreamPtr & out,
LOG4CXX_16_CONST CharsetEncoderPtr & enc )

◆ ~OutputStreamWriter()

log4cxx::helpers::OutputStreamWriter::~OutputStreamWriter ( )

Member Function Documentation

◆ close() [1/2]

void log4cxx::helpers::Writer::close ( )

◆ close() [2/2]

void log4cxx::helpers::OutputStreamWriter::close ( helpers::Pool & p)
overridevirtual
Deprecated
The pool parameter is not used and will be removed in a future version. Implement this method for now, but plan to migrate to close() without a helpers::Pool parameter.

Implements log4cxx::helpers::Writer.

◆ flush() [1/2]

void log4cxx::helpers::Writer::flush ( )

◆ flush() [2/2]

void log4cxx::helpers::OutputStreamWriter::flush ( helpers::Pool & p)
overridevirtual
Deprecated
The pool parameter is not used and will be removed in a future version. Implement this method for now, but plan to migrate to flush() without a helpers::Pool parameter.

Implements log4cxx::helpers::Writer.

◆ getEncoding()

LogString log4cxx::helpers::OutputStreamWriter::getEncoding ( ) const

◆ getOutputStreamPtr()

OutputStreamPtr log4cxx::helpers::OutputStreamWriter::getOutputStreamPtr ( ) const

◆ write() [1/2]

void log4cxx::helpers::Writer::write ( const LogString & str)

◆ write() [2/2]

void log4cxx::helpers::OutputStreamWriter::write ( const LogString & str,
helpers::Pool & p )
overridevirtual
Deprecated
The pool parameter is not used and will be removed in a future version. Implement this method for now, but plan to migrate to write() without a helpers::Pool parameter.

Implements log4cxx::helpers::Writer.


The documentation for this class was generated from the following file: