10#ifndef _LOG4SHIB_STRINGQUEUEAPPENDER_HH
11#define _LOG4SHIB_STRINGQUEUEAPPENDER_HH
46 virtual std::queue<std::string>&
getQueue();
52 virtual const std::queue<std::string>&
getQueue()
const;
#define LOG4SHIB_EXPORT
Definition Export.hh:11
LayoutAppender(const std::string &name)
Definition LayoutAppender.cpp:15
virtual size_t queueSize() const
Return the current size of the message queue.
Definition StringQueueAppender.cpp:43
virtual std::string popMessage()
Pop the oldest log message from the front of the queue.
Definition StringQueueAppender.cpp:47
virtual void _append(const LoggingEvent &event)
Appends the LoggingEvent to the queue.
Definition StringQueueAppender.cpp:27
virtual std::queue< std::string > & getQueue()
Return the queue to which the Appends adds messages.
Definition StringQueueAppender.cpp:35
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
Definition StringQueueAppender.cpp:23
StringQueueAppender(const std::string &name)
Definition StringQueueAppender.cpp:15
virtual bool reopen()
Reopens the output destination of this Appender, e.g.
Definition StringQueueAppender.cpp:31
std::queue< std::string > _queue
Definition StringQueueAppender.hh:68
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16
The internal representation of logging events.
Definition LoggingEvent.hh:32