#include <http_core.h>
unsigned int ap_errorlog_provider::flags |
a combination of the AP_ERRORLOG_PROVIDER_* flags
Initializes the error log writer.
- Parameters
-
p | The pool to create any storage from |
s | Server for which the logger is initialized |
- Returns
- Pointer to handle passed later to writer() function
- Note
- On success, the provider must return non-NULL, even if the handle is not necessary when the writer() function is called. On failure, the provider should log a startup error message and return NULL to abort httpd startup.
const char*(* ap_errorlog_provider::parse_errorlog_arg) (cmd_parms *cmd, const char *arg) |
Checks syntax of ErrorLog directive argument.
- Parameters
-
cmd | The config directive |
arg | ErrorLog directive argument (or the empty string if no argument was provided) |
- Returns
- Error message or NULL on success
Logs the error message to external error log.
- Parameters
-
info | Context of the error message |
handle | Handle created by init() function |
errstr | Error message |
len | Length of the error message |
The documentation for this struct was generated from the following file: