libzypp 17.31.23
zypp::base::logger::Loglinebuf Class Reference
Inheritance diagram for zypp::base::logger::Loglinebuf:

Public Member Functions

 Loglinebuf (const std::string &group_r, LogLevel level_r)
 
 ~Loglinebuf ()
 
void tagSet (const char *fil_r, const char *fnc_r, int lne_r)
 

Private Member Functions

virtual std::streamsize xsputn (const char *s, std::streamsize n)
 
virtual int overflow (int ch=EOF)
 
virtual int writeout (const char *s, std::streamsize n)
 

Private Attributes

std::string _group
 
LogLevel _level
 
const char * _file
 
const char * _func
 
int _line
 
std::string _buffer
 

Detailed Description

Definition at line 407 of file LogControl.cc.

Constructor & Destructor Documentation

◆ Loglinebuf()

zypp::base::logger::Loglinebuf::Loglinebuf ( const std::string &  group_r,
LogLevel  level_r 
)
inline

Definition at line 411 of file LogControl.cc.

◆ ~Loglinebuf()

zypp::base::logger::Loglinebuf::~Loglinebuf ( )
inline

Definition at line 419 of file LogControl.cc.

Member Function Documentation

◆ tagSet()

void zypp::base::logger::Loglinebuf::tagSet ( const char *  fil_r,
const char *  fnc_r,
int  lne_r 
)
inline

Definition at line 426 of file LogControl.cc.

◆ xsputn()

virtual std::streamsize zypp::base::logger::Loglinebuf::xsputn ( const char *  s,
std::streamsize  n 
)
inlineprivatevirtual

Definition at line 435 of file LogControl.cc.

◆ overflow()

virtual int zypp::base::logger::Loglinebuf::overflow ( int  ch = EOF)
inlineprivatevirtual

Definition at line 438 of file LogControl.cc.

◆ writeout()

virtual int zypp::base::logger::Loglinebuf::writeout ( const char *  s,
std::streamsize  n 
)
inlineprivatevirtual

Definition at line 448 of file LogControl.cc.

Member Data Documentation

◆ _group

std::string zypp::base::logger::Loglinebuf::_group
private

Definition at line 473 of file LogControl.cc.

◆ _level

LogLevel zypp::base::logger::Loglinebuf::_level
private

Definition at line 474 of file LogControl.cc.

◆ _file

const char* zypp::base::logger::Loglinebuf::_file
private

Definition at line 475 of file LogControl.cc.

◆ _func

const char* zypp::base::logger::Loglinebuf::_func
private

Definition at line 476 of file LogControl.cc.

◆ _line

int zypp::base::logger::Loglinebuf::_line
private

Definition at line 477 of file LogControl.cc.

◆ _buffer

std::string zypp::base::logger::Loglinebuf::_buffer
private

Definition at line 478 of file LogControl.cc.


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