| 326 | |
| 327 | #if EXAMPLE_LOG_EACH |
| 328 | static 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 | /* |
no test coverage detected