Apache2
|
#include <http_core.h>
Data Fields | |
const server_rec * | s |
const conn_rec * | c |
const request_rec * | r |
const request_rec * | rmain |
apr_pool_t * | pool |
const char * | file |
int | line |
int | module_index |
int | level |
apr_status_t | status |
int | using_provider |
int | startup |
const char * | format |
The info structure passed to callback functions of errorlog handlers. Not all information is available in all contexts. In particular, all pointers may be NULL.
const char* ap_errorlog_info::file |
name of source file where the log message was produced, NULL if N/A.
const char* ap_errorlog_info::format |
message format
int ap_errorlog_info::level |
log level of error message (flags like APLOG_STARTUP have been removed), -1 if N/A
int ap_errorlog_info::line |
line number in the source file, 0 if N/A
int ap_errorlog_info::module_index |
module index of module that produced the log message, APLOG_NO_MODULE if N/A.
apr_pool_t* ap_errorlog_info::pool |
pool passed to ap_log_perror, NULL otherwise
const request_rec* ap_errorlog_info::r |
current request_rec.
const request_rec* ap_errorlog_info::rmain |
r->main if r is a subrequest, otherwise equal to r
const server_rec* ap_errorlog_info::s |
current server_rec. Should be preferred over c->base_server and r->server
int ap_errorlog_info::startup |
1 if APLOG_STARTUP was set for the log message, 0 otherwise
apr_status_t ap_errorlog_info::status |
apr error status related to the log message, 0 if no error
int ap_errorlog_info::using_provider |
1 if logging using provider, 0 otherwise