#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include "../include/tmj.h"
Go to the source code of this file.
|
void | tmj_log_regcb (bool debug, void(*callback)(tmj_log_priority, const char *)) |
| Registers a callback function to handle logging events.
|
|
void | logmsg (tmj_log_priority priority, char *msg,...) |
| Processes log messages and passes them to the active logging callback, if there is one.
|
|
◆ LOGMSG_BUFSIZE
#define LOGMSG_BUFSIZE 1024 |
Definition at line 11 of file log.c.
◆ log_debug
Definition at line 13 of file log.c.
◆ log_callback
Definition at line 14 of file log.c.