LibTMJ
1.0.0
A library for loading JSON Tiled maps
|
Private logging API. More...
Functions | |
void | logmsg (tmj_log_priority priority, char *msg,...) |
Processes log messages and passes them to the active logging callback, if there is one. More... | |
Variables | |
char | logmsg_buf [] |
Statically-allocated memory to hold log messages which are passed to the logging callback. More... | |
Private logging API.
void logmsg | ( | tmj_log_priority | priority, |
char * | msg, | ||
... | |||
) |
Processes log messages and passes them to the active logging callback, if there is one.
priority | One of the set of log priorities defined in the LOG_PRIORITY enum. |
msg | A printf-style format string for the message to be logged |
... | Format string arguments for the previous argument. See printf() for detail. |
Definition at line 23 of file log.c.