libzypp  11.13.5
zypp::log::LineWriter Struct Reference

If you want to log the (formated) loglines by yourself, derive from this, and overload writeOut. More...

#include <LogControl.h>

Inheritance diagram for zypp::log::LineWriter:

List of all members.

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.

Definition at line 34 of file LogControl.h.


Constructor & Destructor Documentation

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

Definition at line 38 of file LogControl.h.


Member Function Documentation

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

Reimplemented in zypp::log::StreamLineWriter.

Definition at line 36 of file LogControl.h.


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