Pol  Revision:cb584c9
Pol::Clib::Logging::Message< Sink > Class Template Reference

#include <logfacility.h>

Public Member Functions

 Message ()
 
 Message (const std::string &id)
 
 Message (const std::string &file, const int line, const std::string &function)
 
 Message (const std::string &id, const std::string &file, const int line, const std::string &function)
 
 ~Message ()
 
fmt::Writer & message ()
 

Private Attributes

std::unique_ptr< fmt::Writer > _formater
 
std::string _id
 

Detailed Description

template<typename Sink>
class Pol::Clib::Logging::Message< Sink >

Definition at line 164 of file logfacility.h.

Constructor & Destructor Documentation

template<typename Sink >
Pol::Clib::Logging::Message< Sink >::Message ( )

Definition at line 207 of file logfacility.cpp.

template<typename Sink >
Pol::Clib::Logging::Message< Sink >::Message ( const std::string &  id)

Definition at line 212 of file logfacility.cpp.

template<typename Sink >
Pol::Clib::Logging::Message< Sink >::Message ( const std::string &  file,
const int  line,
const std::string &  function 
)

Definition at line 217 of file logfacility.cpp.

References Pol::Clib::Logging::Message< Sink >::_formater.

template<typename Sink >
Pol::Clib::Logging::Message< Sink >::Message ( const std::string &  id,
const std::string &  file,
const int  line,
const std::string &  function 
)

Definition at line 224 of file logfacility.cpp.

References Pol::Clib::Logging::Message< Sink >::_formater.

Member Function Documentation

template<typename Sink >
fmt::Writer& Pol::Clib::Logging::Message< Sink >::message ( )
inline

Definition at line 177 of file logfacility.h.

Member Data Documentation

template<typename Sink >
std::unique_ptr<fmt::Writer> Pol::Clib::Logging::Message< Sink >::_formater
private
template<typename Sink >
std::string Pol::Clib::Logging::Message< Sink >::_id
private

Definition at line 181 of file logfacility.h.

Referenced by Pol::Clib::Logging::Message< Sink >::~Message().


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