MCPcopy Create free account
hub / github.com/apache/httpd / ap_get_request_module_loglevel

Function ap_get_request_module_loglevel

server/util_debug.c:192–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190#endif
191
192AP_DECLARE(int) ap_get_request_module_loglevel(const request_rec *r, int module_index)
193{
194 const struct ap_logconf *l = r->log ? r->log :
195 r->connection->log ? r->connection->log :
196 &r->server->log;
197 if (module_index < 0 || l->module_levels == NULL ||
198 l->module_levels[module_index] < 0)
199 {
200 return l->level;
201 }
202
203 return l->module_levels[module_index];
204}
205
206/**
207 * Generic accessors for other modules to set at their own module-specific

Callers 1

log_error_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected