commit | db703b19181a093e54e8619ae7c4aeac07dd8daf | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Nov 04 11:40:10 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 06 10:14:32 2019 +0100 |
tree | d156fdc48d2adbc563f1e54755ee4d85a64cdced | |
parent | a3ed271ed453255aed13a57da10c567f02760fe5 [diff] |
MINOR: trace: Add a set of macros to trace events if HA is compiled with debug The macros DBG_TRACE_*() can be used instead of existing trace macros to emit trace messages in debug mode only, ie, when HAProxy is compiled with DEBUG_FULL or DEBUG_DEV. Otherwise, these macros do nothing. So it is possible to add traces for development purpose without impacting performance of production instances.