AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Quick intro
AiC player usage
Data Structures
Files
File List
Globals
include
logger.h
Go to the documentation of this file.
1
5
#ifndef LOGGER_SDLPLAYER
6
#define LOGGER_SDLPLAYER
7
#include <glib.h>
8
10
void
init_logger
();
11
12
void
_log_wrap
(GLogLevelFlags level,
const
char
* fmt, ...);
13
19
#define LOG(level, msg, ...) _log_wrap(level, "[" LOG_TAG "] " msg, ##__VA_ARGS__)
20
21
#define LOGD(...) LOG(G_LOG_LEVEL_DEBUG, ##__VA_ARGS__)
22
23
#define LOGI(...) LOG(G_LOG_LEVEL_INFO, ##__VA_ARGS__)
24
25
#define LOGM(...) LOG(G_LOG_LEVEL_MESSAGE, ##__VA_ARGS__)
26
27
#define LOGW(...) LOG(G_LOG_LEVEL_WARNING, ##__VA_ARGS__)
28
29
#define LOGC(...) LOG(G_LOG_LEVEL_CRITICAL, ##__VA_ARGS__)
30
31
#define LOGE(...) LOG(G_LOG_LEVEL_ERROR, ##__VA_ARGS__)
32
33
#endif
init_logger
void init_logger()
Definition:
logger.c:76
_log_wrap
void _log_wrap(GLogLevelFlags level, const char *fmt,...)
Definition:
logger.c:12
Generated on Thu Feb 16 2017 15:02:04 for AiCPlayer by
1.8.6