8 #if !defined(h_ebd0ee89_622d_4af1_9a9d_d0e057debe86) 9 #define h_ebd0ee89_622d_4af1_9a9d_d0e057debe86 21 BufferingAppender(
const std::string name,
unsigned long max_size, std::auto_ptr<Appender> sink,
22 std::auto_ptr<TriggeringEventEvaluator> evaluator);
24 virtual void close() { sink_->close(); }
33 typedef std::list<LoggingEvent> queue_t;
36 unsigned long max_size_;
37 std::auto_ptr<Appender> sink_;
38 std::auto_ptr<TriggeringEventEvaluator> evaluator_;
45 #endif // h_ebd0ee89_622d_4af1_9a9d_d0e057debe86 #define LOG4CPP_EXPORT
Definition: Export.hh:26
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
Definition: BufferingAppender.hh:18
bool getLossy() const
Definition: BufferingAppender.hh:26
LayoutAppender is a common superclass for all Appenders that require a Layout.
Definition: LayoutAppender.hh:24
virtual void close()
Release any resources allocated within the appender such as file handles, network connections...
Definition: BufferingAppender.hh:24
void setLossy(bool lossy)
Definition: BufferingAppender.hh:27