hmbdc
simplify-high-performance-messaging-programming
Public Types | Public Member Functions | Friends | List of all members
hmbdc::app::SimpleLogger Struct Reference

a very straightforward logger that works safely More...

#include <LoggerT.hpp>

Inheritance diagram for hmbdc::app::SimpleLogger:
hmbdc::pattern::GuardedSingleton< SimpleLogger >

Public Types

enum  Level {
  L_DEBUG = 0, L_NOTICE, L_WARNING, L_CRITICAL,
  L_OFF
}
 

Public Member Functions

template<typename... Args>
void LOG_D (Args &&...args)
 
template<typename... Args>
void LOG_N (Args &&...args)
 
template<typename... Args>
void LOG_W (Args &&...args)
 
template<typename... Args>
void LOG_C (Args &&...args)
 

Friends

struct pattern::SingletonGuardian< SimpleLogger >
 

Additional Inherited Members

- Static Public Member Functions inherited from hmbdc::pattern::GuardedSingleton< SimpleLogger >
static SimpleLogger & instance ()
 
static bool initialized ()
 

Detailed Description

a very straightforward logger that works safely

when HMBDC_LOG_CONTEXT is undefined, you get functionality of this


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