]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log: introduce log target
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 11 Sep 2023 14:10:37 +0000 (16:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Oct 2023 08:05:06 +0000 (10:05 +0200)
commita9b185f34ebed37b2629bc34596e59a2833589a2
tree84efe4a5f05a919cc2cff6290697b22ff0d33d84
parent18da35c123803f5aecd8204d82777c07af9603c6
MEDIUM: log: introduce log target

log targets were immediately embedded in logger struct (previously
named logsrv) and could not be used outside of this context.

In this patch, we're introducing log_target type with the associated
helper functions so that it becomes possible to declare and use log
targets outside of loggers scope.
include/haproxy/log-t.h
src/log.c
src/sink.c