9 #ifndef CPPLOGGING_APPENDERS_OSTREAM_APPENDER_H
10 #define CPPLOGGING_APPENDERS_OSTREAM_APPENDER_H
42 void Flush()
override;
45 std::ostream& _ostream;
Logging appender interface definition.
Logging appender interface.
Output stream (std::ostream) appender.
void AppendRecord(Record &record) override
Append the given logging record.
OstreamAppender(std::ostream &stream)
Initialize the appender with a given output stream.
OstreamAppender(OstreamAppender &&)=delete
OstreamAppender & operator=(OstreamAppender &&)=delete
virtual ~OstreamAppender()=default
OstreamAppender(const OstreamAppender &)=delete
OstreamAppender & operator=(const OstreamAppender &)=delete
void Flush() override
Flush the logging appender.
C++ Logging project definitions.