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:

zypp::base::ProfilingFormater 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 63 of file LogControl.h.


Constructor & Destructor Documentation

virtual zypp::base::LogControl::LineFormater::~LineFormater  )  [inline, virtual]
 

Definition at line 71 of file LogControl.h.


Member Function Documentation

std::string zypp::base::LogControl::LineFormater::format const std::string &  ,
logger::LogLevel  ,
const char *  ,
const char *  ,
int  ,
const std::string & 
[virtual]
 

Reimplemented in zypp::base::ProfilingFormater.

Definition at line 35 of file LogControl.cc.

References zypp::str::form(), and zypp::Date::now().


The documentation for this struct was generated from the following files:
Generated on Thu Apr 24 02:25:09 2008 for zypp by  doxygen 1.4.6