#include "ctrump/common/dll.h"
#include "error-code.h"
Go to the source code of this file.
Data Structures | |
struct | ctrump_loginfo |
Defines | |
#define | CTRUMP_LOGLEVEL_ERROR 3 |
#define | CTRUMP_LOGLEVEL_WARNING 4 |
Functions | |
CTRUMP_EXTDEF void | ctrump_log (struct ctrump_loginfo *logInfo, int logLevel, enum ctrump_error_code ecode, const char *message, const char *formatStr, unsigned int numTokens, const char **tokens, const char *filename, int line, int column) |
CTRUMP_EXTDEF void | ctrump_free_log (struct ctrump_loginfo *logInfo) |
CTRUMP_EXTDEF char * | ctrump_get_loginfo_message (struct ctrump_loginfo *error) |
Definition in file error.h.
#define CTRUMP_LOGLEVEL_ERROR 3 |
#define CTRUMP_LOGLEVEL_WARNING 4 |
CTRUMP_EXTDEF void ctrump_free_log | ( | struct ctrump_loginfo * | logInfo | ) |
Definition at line 81 of file CFrontError.cpp.
References ctrump_loginfo::message, ctrump_loginfo::numTokens, and ctrump_loginfo::tokens.
CTRUMP_EXTDEF char* ctrump_get_loginfo_message | ( | struct ctrump_loginfo * | error | ) |
Definition at line 147 of file CFrontError.cpp.
References MAX_MESSAGE_LEN, and ctrump_loginfo::message.
Referenced by ctrump_report_log(), and error_get_message().
CTRUMP_EXTDEF void ctrump_log | ( | struct ctrump_loginfo * | logInfo, | |
int | logLevel, | |||
enum ctrump_error_code | ecode, | |||
const char * | message, | |||
const char * | formatStr, | |||
unsigned int | numTokens, | |||
const char ** | tokens, | |||
const char * | filename, | |||
int | line, | |||
int | column | |||
) |
Definition at line 60 of file CFrontError.cpp.
References ctrump_loginfo::code, ctrump_loginfo::column, ctrump_report_log(), ctrump_loginfo::filename, ctrump_loginfo::formatStr, ctrump_loginfo::line, ctrump_loginfo::logLevel, ctrump_loginfo::message, ctrump_loginfo::numTokens, and ctrump_loginfo::tokens.
Referenced by ctrump_add_log().