diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-12-01 15:08:14 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:28 -0400 |
commit | 68c58c162b5c446e288700ffa462642d323af05a (patch) | |
tree | 94a567dd0bd0194c0d3fd67693979d524e59ec65 /src/log.h | |
parent | 6f39097ab6b35a7f3850afe021314a5c4d0d92bf (diff) | |
download | lighttpd-git-68c58c162b5c446e288700ffa462642d323af05a.tar.gz |
[core] log_error_multiline_buffer()
replaces log_error_write_multiline_buffer()
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -10,9 +10,6 @@ int log_clock_gettime_realtime (struct timespec *ts); ssize_t write_all(int fd, const void* buf, size_t count); -__attribute_cold__ -int log_error_write_multiline_buffer(server *srv, const char *filename, unsigned int line, buffer *multiline, const char *fmt, ...); - struct log_error_st { enum { ERRORLOG_FILE, ERRORLOG_FD, ERRORLOG_SYSLOG, ERRORLOG_PIPE } errorlog_mode; int errorlog_fd; @@ -36,4 +33,8 @@ __attribute_cold__ __attribute_format__((__printf__, 4, 5)) void log_perror(const log_error_st *errh, const char *filename, unsigned int line, const char *fmt, ...); +__attribute_cold__ +__attribute_format__((__printf__, 5, 6)) +void log_error_multiline_buffer(const log_error_st *errh, const char *filename, unsigned int line, const buffer *multiline, const char *fmt, ...); + #endif |