Apache Log4cxx  Version 1.8.0
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 (helpers::Pool &p) override
 
void flush (helpers::Pool &p) override
 
void write (const LogString &str, helpers::Pool &p) override
 
WriterPtr getWriter () const
 
void close ()
 
virtual void close (Pool &p)=0
 
void flush ()
 
virtual void flush (Pool &p)=0
 
void write (const LogString &str)
 
virtual void write (const LogString &str, Pool &p)=0
 
- 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

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() [1/3]

void log4cxx::helpers::Writer::close

◆ close() [2/3]

void log4cxx::helpers::BufferedWriter::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.

◆ close() [3/3]

virtual void log4cxx::helpers::Writer::close
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.

◆ flush() [1/3]

void log4cxx::helpers::Writer::flush

◆ flush() [2/3]

void log4cxx::helpers::BufferedWriter::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.

◆ flush() [3/3]

virtual void log4cxx::helpers::Writer::flush
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.

◆ getWriter()

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

◆ write() [1/3]

void log4cxx::helpers::Writer::write

◆ write() [2/3]

void log4cxx::helpers::BufferedWriter::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.

◆ write() [3/3]

virtual void log4cxx::helpers::Writer::write
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.


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