|
libzypp
9.1.2
|
If you want to format loglines by yourself, derive from this, and overload format.
More...
#include <LogControl.h>

Public Member Functions | |
| virtual std::string | format (const std::string &, logger::LogLevel, const char *, const char *, int, const std::string &) |
| virtual | ~LineFormater () |
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.
| virtual zypp::base::LogControl::LineFormater::~LineFormater | ( | ) | [inline, virtual] |
Definition at line 121 of file LogControl.h.
| 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.
References zypp::str::form(), and zypp::Date::now().
1.7.6.1