libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
qi::ExceptionLogError< O, S > Struct Template Reference

#include <log.hpp>

Public Member Functions

void operator() (const std::exception &e) const
 
void operator() (const boost::exception &e) const
 
void operator() () const
 

Public Attributes

category
 
prefix
 

Detailed Description

template<typename O, typename S = char const*>
struct qi::ExceptionLogError< O, S >

Logs an exception in the error log, distinguishing std::exception, boost::exception and unknown exception (typically for the catch (...) case).

You can provide a log category and a prefix to the log.

OStreamable O, ConvertibleTo<const char*> S

Definition at line 636 of file log.hpp.

Member Function Documentation

template<typename O , typename S = char const*>
void qi::ExceptionLogError< O, S >::operator() ( const std::exception &  e) const
inline

Definition at line 643 of file log.hpp.

template<typename O , typename S = char const*>
void qi::ExceptionLogError< O, S >::operator() ( const boost::exception &  e) const
inline

Definition at line 647 of file log.hpp.

template<typename O , typename S = char const*>
void qi::ExceptionLogError< O, S >::operator() ( ) const
inline

Definition at line 651 of file log.hpp.

Member Data Documentation

template<typename O , typename S = char const*>
S qi::ExceptionLogError< O, S >::category

Definition at line 638 of file log.hpp.

template<typename O , typename S = char const*>
O qi::ExceptionLogError< O, S >::prefix

Definition at line 639 of file log.hpp.


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