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);
94 virtual void close (
void) = 0;
101 virtual bool requires_layout (
void)
const = 0;
106 virtual void set_layout (
Layout* layout = 0) = 0;
122 virtual bool is_valid (
void)
const;
124 #ifdef APPENDERS_HAVE_LEVEL_THRESHOLD
138 #endif // APPENDERS_HAVE_LEVEL_THRESHOLD
140 #ifdef APPENDERS_HAVE_FILTERS
144 virtual void set_filter (Filter* filter);
150 virtual Filter* get_filter (
void);
151 #endif // APPENDERS_HAVE_FILTERS
165 const std::string _name;
167 #ifdef APPENDERS_HAVE_LEVEL_THRESHOLD
174 #ifdef APPENDERS_HAVE_FILTERS
184 #endif // _LOG4TANGO_APPENDER_H
#define LOG4TANGO_EXPORT
Definition: Export.hh:38
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
int Value
The type of Level Values.
Definition: Level.hh:98
Definition: Appender.hh:45
The internal representation of logging events.
Definition: LoggingEvent.hh:50