libzypp  17.25.10
zypp::log::FileLineWriter Struct Reference

LineWriter to file. More...

#include <LogControl.h>

Inheritance diagram for zypp::log::FileLineWriter:

Public Member Functions

 FileLineWriter (const Pathname &file_r, mode_t mode_r=0)
- Public Member Functions inherited from zypp::log::StreamLineWriter
 StreamLineWriter (std::ostream &str_r)
virtual void writeOut (const std::string &formated_r)
- Public Member Functions inherited from zypp::log::LineWriter
virtual ~LineWriter ()

Protected Attributes

shared_ptr< void > _outs
- Protected Attributes inherited from zypp::log::StreamLineWriter
std::ostream * _str

Additional Inherited Members

- Protected Member Functions inherited from zypp::log::StreamLineWriter
 StreamLineWriter ()

Detailed Description

LineWriter to file.

If mode_r is not 0, file_r persissions are changed accordingly. "-" logs to cerr.

Definition at line 72 of file LogControl.h.

Constructor & Destructor Documentation

◆ FileLineWriter()

zypp::log::FileLineWriter::FileLineWriter ( const Pathname file_r,
mode_t  mode_r = 0 

Definition at line 99 of file

Member Data Documentation

◆ _outs

shared_ptr<void> zypp::log::FileLineWriter::_outs

Definition at line 76 of file LogControl.h.

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