Go to the source code of this file.
Macros | |
#define | IMPLEMENT_LOGF(func) |
Functions | |
bool | Log (const char *msg) |
bool | DebugLog (const char *strMessage) |
bool | LogFatal (const char *strMessage) |
void | c4_log_handle_clear () |
const char * | c4_log_handle_get_first_log_message () |
unsigned int | c4_log_handle_get_n_log_messages () |
Variables | |
std::string | first_log |
unsigned int | n_logs = 0 |
#define IMPLEMENT_LOGF | ( | func | ) |
Definition at line 40 of file log-handle.cpp.
void c4_log_handle_clear | ( | ) |
Definition at line 55 of file log-handle.cpp.
References first_log, and n_logs.
Referenced by c4_mapgen_handle_new(), and c4_mapgen_handle_new_script().
const char* c4_log_handle_get_first_log_message | ( | ) |
Definition at line 61 of file log-handle.cpp.
References first_log.
Referenced by c4_mapgen_handle_new(), and c4_mapgen_handle_new_script().
unsigned int c4_log_handle_get_n_log_messages | ( | ) |
Definition at line 67 of file log-handle.cpp.
References n_logs.
Referenced by c4_mapgen_handle_new(), and c4_mapgen_handle_new_script().
bool DebugLog | ( | const char * | strMessage | ) |
Definition at line 37 of file log-handle.cpp.
References Log().
bool Log | ( | const char * | msg | ) |
Definition at line 24 of file log-handle.cpp.
References first_log, and n_logs.
Referenced by DebugLog(), and LogFatal().
bool LogFatal | ( | const char * | strMessage | ) |
Definition at line 38 of file log-handle.cpp.
References Log().
std::string first_log |
Definition at line 21 of file log-handle.cpp.
Referenced by c4_log_handle_clear(), c4_log_handle_get_first_log_message(), and Log().
unsigned int n_logs = 0 |
Definition at line 22 of file log-handle.cpp.
Referenced by c4_log_handle_clear(), c4_log_handle_get_n_log_messages(), and Log().