37#ifndef _LOG4TANGO_APPENDER_H
38#define _LOG4TANGO_APPENDER_H
75#if defined(APPENDERS_HAVE_LEVEL_THRESHOLD) || defined(APPENDERS_HAVE_FILTERS)
79 return _append(event);
88 virtual bool reopen (
void);
122 virtual bool is_valid (
void)
const;
124#ifdef APPENDERS_HAVE_LEVEL_THRESHOLD
140#ifdef APPENDERS_HAVE_FILTERS
144 virtual void set_filter (Filter* filter);
150 virtual Filter* get_filter (
void);
165 const std::string _name;
167#ifdef APPENDERS_HAVE_LEVEL_THRESHOLD
174#ifdef APPENDERS_HAVE_FILTERS
#define LOG4TANGO_EXPORT
Definition: Export.hh:38
Definition: Appender.hh:46
virtual bool requires_layout(void) const =0
Check if the appender uses a layout.
virtual void set_layout(Layout *layout=0)=0
Change the layout.
virtual int _append(const LoggingEvent &event)=0
Log in Appender specific way.
const std::string & get_name(void) const
Returns this appender name.
Definition: Appender.hh:111
int append(const LoggingEvent &event)
Log in Appender specific way.
Definition: Appender.hh:78
virtual void close(void)=0
Release any resources allocated within the appender such as file handles, network connections,...
int Value
The type of Level Values.
Definition: Level.hh:98
Definition: Appender.hh:40
The internal representation of logging events.
Definition: LoggingEvent.hh:51