Apache Log4cxx: layout.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18#ifndef _LOG4CXX_LAYOUT_H
19#define _LOG4CXX_LAYOUT_H
20
24
25
26namespace LOG4CXX_NS
27{
34{
35 public:
41
43
48 const spi::LoggingEventPtr& event, LOG4CXX_NS::helpers::Pool& pool) const = 0;
49
55
60 virtual void appendHeader(LogString& output, LOG4CXX_NS::helpers::Pool& p);
61
66 virtual void appendFooter(LogString& output, LOG4CXX_NS::helpers::Pool& p);
67
77 virtual bool ignoresThrowable() const = 0;
78
79 protected:
83 size_t getFormattedEventCharacterCount() const;
84};
86}
87
88#endif
Extend this abstract class to create your own log layout format.
Definition: layout.h:34
base class for java-like objects.
Definition: object.h:106
A string based interface to configure package components.
Definition: optionhandler.h:35
std::basic_string< logchar > LogString
Definition: logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146