openbsd-ports/www/lighttpd/patches/patch-src_log_h

15 lines
595 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_log_h,v 1.1 2013/03/28 16:22:32 brad Exp $
Support multi line logging.
--- src/log.h.orig Mon Feb 1 18:28:20 2010
+++ src/log.h Wed Mar 27 09:15:29 2013
@@ -15,6 +15,7 @@ int open_logfile_or_pipe(server *srv, const char* logf
int log_error_open(server *srv);
int log_error_close(server *srv);
int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...);
+int log_error_write_multiline_buffer(server *srv, const char *filename, unsigned int line, buffer *multiline, const char *fmt, ...);
int log_error_cycle(server *srv);
#endif