ProfilingFormater.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_BASE_PROFILINGFORMATER_H
00013 #define ZYPP_BASE_PROFILINGFORMATER_H
00014 
00015 #include <iosfwd>
00016 #include <string>
00017 #include "zypp/base/LogControl.h"
00018 
00020 namespace zypp
00021 { 
00022 
00023   namespace base
00024   { 
00025 
00026     struct ProfilingFormater : public LogControl::LineFormater
00027     {
00028       virtual std::string format( const std::string & /*group_r*/,
00029                                   logger::LogLevel    /*level_r*/,
00030                                   const char *        /*file_r*/,
00031                                   const char *        /*func_r*/,
00032                                   int                 /*line_r*/,
00033                                   const std::string & /*message_r*/ );
00034       virtual ~ProfilingFormater() {}
00035     };
00036 
00037 
00039   } // namespace base
00042 } // namespace zypp
00044 #endif // ZYPP_BASE_PROFILINGFORMATER_H

doxygen