Solar
Macros
Log_styles
Collaboration diagram for Log_styles:

Macros

#define LOG_TRACE(fmt, ...)
 
#define LOG_INFO(fmt, ...)
 
#define LOG_DEBUG(fmt, ...)
 
#define LOG_CRITICAL(fmt, ...)
 
#define LOG_WARNING(fmt, ...)
 
#define LOG_ERROR(fmt, ...)
 

Detailed Description

these macros are to be used in the code

Macro Definition Documentation

◆ LOG_CRITICAL

#define LOG_CRITICAL (   fmt,
  ... 
)
Value:
{ \
Log::logger()->critical("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}

◆ LOG_DEBUG

#define LOG_DEBUG (   fmt,
  ... 
)
Value:
{ \
Log::logger()->debug("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}

◆ LOG_ERROR

#define LOG_ERROR (   fmt,
  ... 
)
Value:
{ \
Log::logger()->error("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}

◆ LOG_INFO

#define LOG_INFO (   fmt,
  ... 
)
Value:
{ \
Log::logger()->info("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}

◆ LOG_TRACE

#define LOG_TRACE (   fmt,
  ... 
)
Value:
{ \
Log::logger()->trace("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}

◆ LOG_WARNING

#define LOG_WARNING (   fmt,
  ... 
)
Value:
{ \
Log::logger()->warn("[{:5d}] [{}():{}] " fmt,spdlog::details::os::thread_id(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
}