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