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