ESAPI-C 1.0
The OWASP Enterprise Security API for C
|
A Logging module implementation. More...
#include <stdlib.h>
#include <string.h>
#include "log.h"
Go to the source code of this file.
Defines | |
#define | DEFAULT_LOG_CATEGORY_NAME "log4c.category.default" |
Functions | |
int | esapi_open_log () |
Enables logging for this process. | |
int | esapi_close_log () |
Disables logging for this process. | |
void | _log (int priority, const user *u, int type, const char *fmt,...) |
void | esapi_log_trace (const user *u, int type, const char *fmt,...) |
Log a TRACE level message. | |
void | esapi_log_debug (const user *u, int type, const char *fmt,...) |
Log a DEBUG level message. | |
void | esapi_log_info (const user *u, int type, const char *fmt,...) |
Log an INFO level message. | |
void | esapi_log_warn (const user *u, int type, const char *fmt,...) |
Log a WARN level message. | |
void | esapi_log_error (const user *u, int type, const char *fmt,...) |
Log an ERROR level message. | |
void | esapi_log_fatal (const user *u, int type, const char *fmt,...) |
Log a FATAL level message. | |
Variables | |
char * | eventTypeNames [] |