Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::Writer Class Referenceabstract

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

#include <writer.h>

Inheritance diagram for log4cxx::helpers::Writer:
log4cxx::helpers::Object log4cxx::helpers::BufferedWriter log4cxx::helpers::OutputStreamWriter log4cxx::helpers::SystemErrWriter log4cxx::helpers::SystemOutWriter

Public Member Functions

virtual void close ()=0
virtual void flush ()=0
virtual void write (const LogString &str)=0
void close (Pool &p)
void flush (Pool &p)
void write (const LogString &str, Pool &p)
Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual const helpers::Class & getClass () const =0
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

Protected Member Functions

 Writer ()
virtual ~Writer ()

Detailed Description

Abstract class for writing to character streams.

Constructor & Destructor Documentation

◆ Writer()

log4cxx::helpers::Writer::Writer ( )
protected

◆ ~Writer()

virtual log4cxx::helpers::Writer::~Writer ( )
protectedvirtual

Member Function Documentation

◆ close() [1/2]

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

◆ close() [2/2]

void log4cxx::helpers::Writer::close ( Pool & p)
Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use close() without a Pool parameter instead

◆ flush() [1/2]

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

◆ flush() [2/2]

void log4cxx::helpers::Writer::flush ( Pool & p)
Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use flush() without a Pool parameter instead

◆ write() [1/2]

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

◆ write() [2/2]

void log4cxx::helpers::Writer::write ( const LogString & str,
Pool & p )
Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use write() without a Pool parameter instead

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