libcamgm
Public Member Functions | List of all members
ca_mgm::log::LineWriter Struct Reference

#include <LogControl.hpp>

Inheritance diagram for ca_mgm::log::LineWriter:
ca_mgm::log::StreamLineWriter ca_mgm::log::FileLineWriter ca_mgm::log::StderrLineWriter ca_mgm::log::StdoutLineWriter

Public Member Functions

virtual void writeOut (const std::string &)
 
virtual ~LineWriter ()
 

Detailed Description

If you want to log the (formated) loglines by yourself, derive from this, and overload writeOut. Expect formated_r to be a formated log line without trailing NL. Ready to be written to the log.

Constructor & Destructor Documentation

virtual ca_mgm::log::LineWriter::~LineWriter ( )
inlinevirtual

Member Function Documentation

virtual void ca_mgm::log::LineWriter::writeOut ( const std::string &  )
inlinevirtual

Reimplemented in ca_mgm::log::StreamLineWriter.


The documentation for this struct was generated from the following file: