Apache Log4cxx: simplelayout.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18#ifndef _LOG4CXX_SIMPLE_LAYOUT_H

19#define _LOG4CXX_SIMPLE_LAYOUT_H

20

22

23namespace LOG4CXX_NS

24{

38{

39 public:

45

46

53 const spi::LoggingEventPtr& event,

54 helpers::Pool& pool) const override;

55

61 bool ignoresThrowable() const override

62 {

63 return true;

64 }

65

72

81 const LogString& ) override {}

82};

84}

85

86#endif

Extend this abstract class to create your own log layout format.

Definition: layout.h:34

SimpleLayout consists of the level of the log statement, followed by " - " and then the log message i...

Definition: simplelayout.h:38

void setOption(const LogString &, const LogString &) override

Set option to value.

Definition: simplelayout.h:80

void activateOptions(helpers::Pool &) override

Activate the options that were previously set with calls to option setters.

Definition: simplelayout.h:71

std::basic_string< logchar > LogString

Definition: logstring.h:60

LOG4CXX_PTR_DEF(Appender)

#define LOG4CXX_CAST_ENTRY(Interface)

Definition: object.h:158

#define END_LOG4CXX_CAST_MAP()

Definition: object.h:152

#define DECLARE_LOG4CXX_OBJECT(object)

Definition: object.h:43

#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)

Definition: object.h:164

#define BEGIN_LOG4CXX_CAST_MAP()

Definition: object.h:146