Banjo API 0.0.1
C99 game development API
Loading...
Searching...
No Matches
log.h File Reference
#include <banjo/api.h>
Include dependency graph for log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BJ_MAXIMUM_LOG_LEN   120
#define bj_log_msg(LEVEL, ...)
#define bj_trace(...)
#define bj_debug(...)
#define bj_info(...)
#define bj_warn(...)
#define bj_err(...)
#define bj_fatal(...)

Enumerations

enum  {
  BJ_LOG_TRACE , BJ_LOG_DEBUG , BJ_LOG_INFO , BJ_LOG_WARN ,
  BJ_LOG_ERROR , BJ_LOG_FATAL
}

Functions

const char * bj_get_log_level_string (int level)
void bj_set_log_level (int level)
int bj_get_log_level (void)
size_t bj_log_message (int level, const char *p_file, int line, const char *p_format,...)

Detailed Description

Logging utility functions.