]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: automate string array construction in sess_build_logline()
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 31 Jan 2024 13:37:07 +0000 (14:37 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 20 Feb 2024 14:49:55 +0000 (15:49 +0100)
commitee88c4418fdb8f8be4e7d083dba86abd1e27621a
tree72b0700b686d9d0e44ebb78f2081be107614ac1b
parent8d2b9e2acddf354581c694928d05b9f468d501fd
MINOR: log: automate string array construction in sess_build_logline()

make it so string array construction is performed by dedicated macro
helpers instead of manual char insertion between string members.

The goal is to easily be able to support multiple forms of array
construction depending on the data encoding format (raw, json..).

Only %hrl and %hsl logformats are concerned.
src/log.c