Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ap_errorlog_info Struct Reference

#include <http_core.h>

Collaboration diagram for ap_errorlog_info:

Data Fields

const server_recs
 
const conn_recc
 
const request_recr
 
const request_recrmain
 
apr_pool_tpool
 
const char * file
 
int line
 
int module_index
 
int level
 
apr_status_t status
 
int using_provider
 
int startup
 
const char * format
 

Detailed Description

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.

Field Documentation

const conn_rec* ap_errorlog_info::c

current conn_rec. Should be preferred over r->connection

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


The documentation for this struct was generated from the following file: