Cthulhu  0.2.10
Cthulhu compiler collection
log.h File Reference
#include <ctu_base_api.h>
#include "core/compiler.h"
#include "core/analyze.h"
#include <stdarg.h>
#include <stdbool.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.

Typedefs

typedef void(* verbose_t) (const char *fmt, va_list args)
 a logging callback More...
 

Functions

CT_BASE_API void ctu_log_update (bool enable)
 update the verbosity of the logging system More...
 
CT_BASE_API bool ctu_log_enabled (void)
 check if verbose logging is enabled More...
 
CT_BASE_API void ctu_log (STA_FORMAT_STRING const char *fmt,...)
 log a message More...
 
CT_BASE_API void ctu_vlog (const char *fmt, va_list args)
 log a message More...
 

Variables

CT_BASE_API verbose_t gVerboseCallback
 the global verbose logging callback More...