Apache Log4cxx  Version 1.5.0
Loading...
Searching...
No Matches
log4cxx::helpers::BufferedWriter Class Reference

Writes text to a character-output stream buffering requests to increase efficiency. More...

#include <bufferedwriter.h>

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

Public Member Functions

 BufferedWriter (WriterPtr &out)
 BufferedWriter (WriterPtr &out, size_t sz)
virtual ~BufferedWriter ()
void close (Pool &p) override
void flush (Pool &p) override
void write (const LogString &str, Pool &p) override
WriterPtr getWriter () const
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

Writes text to a character-output stream buffering requests to increase efficiency.

Constructor & Destructor Documentation

◆ BufferedWriter() [1/2]

log4cxx::helpers::BufferedWriter::BufferedWriter ( WriterPtr & out)

◆ BufferedWriter() [2/2]

log4cxx::helpers::BufferedWriter::BufferedWriter ( WriterPtr & out,
size_t sz )

◆ ~BufferedWriter()

virtual log4cxx::helpers::BufferedWriter::~BufferedWriter ( )
virtual

Member Function Documentation

◆ close()

void log4cxx::helpers::BufferedWriter::close ( Pool & p)
overridevirtual

◆ flush()

void log4cxx::helpers::BufferedWriter::flush ( Pool & p)
overridevirtual

◆ getWriter()

WriterPtr log4cxx::helpers::BufferedWriter::getWriter ( ) const

◆ write()

void log4cxx::helpers::BufferedWriter::write ( const LogString & str,
Pool & p )
overridevirtual

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