spla
Classes | Namespaces | Macros
logger.hpp File Reference
#include <spla/config.hpp>
#include <functional>
#include <mutex>
#include <sstream>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  spla::Logger
 Library logger. More...
 

Namespaces

 spla
 

Macros

#define LOG_MSG(status, msg)
 

Macro Definition Documentation

◆ LOG_MSG

#define LOG_MSG (   status,
  msg 
)
Value:
do { \
std::stringstream __ss; \
__ss << msg; \
Library::get()->get_logger()->log_msg(status, __ss.str(), __FILE__, __FUNCTION__, static_cast<int>(__LINE__)); \
} while (false);