chiark / gitweb /
tree-wide: add DEBUG_LOGGING macro that checks whether debug logging is on (#7645)
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Dec 2017 10:09:00 +0000 (11:09 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:37 +0000 (07:49 +0200)
commit7c81c217c26c10226c313a9b78b6aa685de9ccef
tree03d74a61fd98cda49d3d3b0841e9fe43b295aee2
parentd2c764609978a41e7f83a6d5d90f9213faae6202
tree-wide: add DEBUG_LOGGING macro that checks whether debug logging is on (#7645)

This makes things a bit easier to read I think, and also makes sure we
always use the _unlikely_ wrapper around it, which so far we used
sometimes and other times we didn't. Let's clean that up.
src/basic/log.h