10 #ifndef _LOG4CPP_STRINGQUEUEAPPENDER_HH 11 #define _LOG4CPP_STRINGQUEUEAPPENDER_HH 40 virtual size_t queueSize()
const;
46 virtual std::queue<std::string>& getQueue();
52 virtual const std::queue<std::string>& getQueue()
const;
58 virtual std::string popMessage();
73 #endif // _LOG4CPP_STRINGQUEUEAPPENDER_HH
virtual bool reopen()
Reopens the output destination of this Appender, e.g.
The top level namespace for all 'Log for C++' types and classes.
virtual void _append(const LoggingEvent &event)=0
Log in Appender specific way.
std::queue< std::string > _queue
LayoutAppender is a common superclass for all Appenders that require a Layout.
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections...
This class puts log messages in an in-memory queue.