libzypp  11.13.5
zypp::base::LogControl::LineFormater Struct Reference

If you want to format loglines by yourself, derive from this, and overload format. More...

#include <LogControl.h>

Inheritance diagram for zypp::base::LogControl::LineFormater:

List of all members.

Public Member Functions

virtual std::string format (const std::string &, logger::LogLevel, const char *, const char *, int, const std::string &)
virtual ~LineFormater ()

Detailed Description

If you want to format loglines by yourself, derive from this, and overload format.

Return a formated logline without trailing NL. Ready to be written to the log.

Definition at line 113 of file LogControl.h.


Constructor & Destructor Documentation

virtual zypp::base::LogControl::LineFormater::~LineFormater ( )
inlinevirtual

Definition at line 121 of file LogControl.h.


Member Function Documentation

std::string zypp::base::LogControl::LineFormater::format ( const std::string &  group_r,
logger::LogLevel  level_r,
const char *  file_r,
const char *  func_r,
int  line_r,
const std::string &  message_r 
)
virtual

Reimplemented in zypp::base::ProfilingFormater.

Definition at line 74 of file LogControl.cc.


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