Concord - C Discord API library
A Discord API wrapper library written in C
log.h File Reference

Maintain support for log.c deprecated functions using logmod.h as a wrapper. More...

#include "logmod.h"
Include dependency graph for log.h:

Go to the source code of this file.

Macros

#define log_trace(...)   logmod_log(TRACE, NULL, __VA_ARGS__)
 Backwards compatible alias for logmod_log() More...
 
#define log_debug(...)   logmod_log(DEBUG, NULL, __VA_ARGS__)
 Backwards compatible alias for logmod_log() More...
 
#define log_info(...)   logmod_log(INFO, NULL, __VA_ARGS__)
 Backwards compatible alias for logmod_log() More...
 
#define log_warn(...)   logmod_log(WARN, NULL, __VA_ARGS__)
 Backwards compatible alias for logmod_log() More...
 
#define log_error(...)   logmod_log(ERROR, NULL, __VA_ARGS__)
 Backwards compatible alias for logmod_log() More...
 
#define log_fatal(...)   logmod_log(FATAL, NULL, __VA_ARGS__)
 Backwards compatible alias for logmod_log() More...
 

Detailed Description

Maintain support for log.c deprecated functions using logmod.h as a wrapper.

Author
Cogmasters
Attention
This file is deprecated and will be removed in future releases
Deprecated:
since v3.0.0

Macro Definition Documentation

◆ log_trace

#define log_trace (   ...)    logmod_log(TRACE, NULL, __VA_ARGS__)

Backwards compatible alias for logmod_log()

Deprecated:
since v3.0.0

◆ log_debug

#define log_debug (   ...)    logmod_log(DEBUG, NULL, __VA_ARGS__)

Backwards compatible alias for logmod_log()

Deprecated:
since v3.0.0

◆ log_info

#define log_info (   ...)    logmod_log(INFO, NULL, __VA_ARGS__)

Backwards compatible alias for logmod_log()

Deprecated:
since v3.0.0

◆ log_warn

#define log_warn (   ...)    logmod_log(WARN, NULL, __VA_ARGS__)

Backwards compatible alias for logmod_log()

Deprecated:
since v3.0.0

◆ log_error

#define log_error (   ...)    logmod_log(ERROR, NULL, __VA_ARGS__)

Backwards compatible alias for logmod_log()

Deprecated:
since v3.0.0

◆ log_fatal

#define log_fatal (   ...)    logmod_log(FATAL, NULL, __VA_ARGS__)

Backwards compatible alias for logmod_log()

Deprecated:
since v3.0.0