CppLogging  1.0.4.0
C++ Logging Library
debug_appender.h
Go to the documentation of this file.
1 
9 #ifndef CPPLOGGING_APPENDERS_DEBUG_APPENDER_H
10 #define CPPLOGGING_APPENDERS_DEBUG_APPENDER_H
11 
12 #include "logging/appender.h"
13 
14 namespace CppLogging {
15 
17 
25 class DebugAppender : public Appender
26 {
27 public:
28  DebugAppender() = default;
29  DebugAppender(const DebugAppender&) = delete;
31  virtual ~DebugAppender() = default;
32 
35 
36  // Implementation of Appender
37  void AppendRecord(Record& record) override;
38  void Flush() override;
39 };
40 
41 } // namespace CppLogging
42 
43 #endif // CPPLOGGING_APPENDERS_DEBUG_APPENDER_H
Logging appender interface definition.
Logging appender interface.
Definition: appender.h:33
void Flush() override
Flush the logging appender.
void AppendRecord(Record &record) override
Append the given logging record.
DebugAppender(DebugAppender &&)=delete
virtual ~DebugAppender()=default
DebugAppender(const DebugAppender &)=delete
DebugAppender & operator=(DebugAppender &&)=delete
DebugAppender & operator=(const DebugAppender &)=delete
Logging record.
Definition: record.h:37
C++ Logging project definitions.
Definition: appender.h:15