OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
Logger.h File Reference
#include "WorkQueueLoopThread.h"
#include <chrono>
#include "utils_export.h"
#include <fstream>
#include <string>
#include "EnumMap.h"
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Utils::Logger
 
struct  Utils::Logger::Message
 

Namespaces

namespace  Utils
 

Macros

#define loginfo(s)   Utils::Logger::instance()->info(s, __FILE__, __LINE__)
 
#define logerror(s)   Utils::Logger::instance()->error(s, __FILE__, __LINE__)
 
#define logwarn(s)   Utils::Logger::instance()->warn(s, __FILE__, __LINE__)
 
#define logdebug(s)   Utils::Logger::instance()->debug(s, __FILE__, __LINE__)
 
#define logexception(e)   Utils::Logger::instance()->exception(e, __FILE__, __LINE__)
 
#define logexception_msg(e, m)   Utils::Logger::instance()->exception(e, m, __FILE__, __LINE__)
 

Macro Definition Documentation

◆ logdebug

#define logdebug (   s)    Utils::Logger::instance()->debug(s, __FILE__, __LINE__)

Definition at line 23 of file Logger.h.

◆ logerror

#define logerror (   s)    Utils::Logger::instance()->error(s, __FILE__, __LINE__)

Definition at line 17 of file Logger.h.

◆ logexception

#define logexception (   e)    Utils::Logger::instance()->exception(e, __FILE__, __LINE__)

Definition at line 26 of file Logger.h.

◆ logexception_msg

#define logexception_msg (   e,
  m 
)    Utils::Logger::instance()->exception(e, m, __FILE__, __LINE__)

Definition at line 29 of file Logger.h.

◆ loginfo

#define loginfo (   s)    Utils::Logger::instance()->info(s, __FILE__, __LINE__)

Definition at line 14 of file Logger.h.

◆ logwarn

#define logwarn (   s)    Utils::Logger::instance()->warn(s, __FILE__, __LINE__)

Definition at line 20 of file Logger.h.