Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
Logging Macros

Macros

#define log_debug(...)   (log_message(_LOG_LEVEL_DEBUG, __FILE__, __LINE__, __VA_ARGS__))
 
#define log_info(...)   (log_message(_LOG_LEVEL_INFO, __FILE__, __LINE__, __VA_ARGS__))
 
#define log_warning(...)   (log_message(_LOG_LEVEL_WARNING, __FILE__, __LINE__, __VA_ARGS__))
 
#define log_error(...)   (log_message(_LOG_LEVEL_ERROR, __FILE__, __LINE__, __VA_ARGS__))
 

Detailed Description

These macros prints the given message to the standard output, including the file and line of the caller.

Macro Definition Documentation

◆ log_debug

#define log_debug (   ...)    (log_message(_LOG_LEVEL_DEBUG, __FILE__, __LINE__, __VA_ARGS__))

◆ log_error

#define log_error (   ...)    (log_message(_LOG_LEVEL_ERROR, __FILE__, __LINE__, __VA_ARGS__))

◆ log_info

#define log_info (   ...)    (log_message(_LOG_LEVEL_INFO, __FILE__, __LINE__, __VA_ARGS__))

◆ log_warning

#define log_warning (   ...)    (log_message(_LOG_LEVEL_WARNING, __FILE__, __LINE__, __VA_ARGS__))