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

Function example_log_each

modules/examples/mod_example_hooks.c:328–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326
327#if EXAMPLE_LOG_EACH
328static void example_log_each(apr_pool_t *p, server_rec *s, const char *note)
329{
330 if (s != NULL) {
331 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02991)
332 "mod_example_hooks: %s", note);
333 }
334 else {
335 apr_file_t *out = NULL;
336 apr_file_open_stderr(&out, p);
337 apr_file_printf(out, "mod_example_hooks traced in non-loggable "
338 "context: %s\n", note);
339 }
340}
341#endif
342
343/*

Callers 3

trace_startupFunction · 0.85
trace_requestFunction · 0.85
trace_connectionFunction · 0.85

Calls 1

ap_log_errorFunction · 0.50

Tested by

no test coverage detected