diff options
author | Kay Sievers <kay@vrfy.org> | 2013-10-20 21:17:55 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-10-20 21:26:47 +0200 |
commit | 87ff6b1c2a607c47b2374c5be41ac01302714979 (patch) | |
tree | c9f0547388990d90a877ec0b85d2696e15320108 /man/machinectl.xml | |
parent | 145d22584ff3a64cfd4798ad4fde5ed6e2428183 (diff) |
log: avoid calling the logging functions for log levels above the current maximum
Messages with log levels above the current maximum log level will be dropped
inside log_meta(). But to be able to call the function, all parameters for
the function need to be provided. This can easily get expensive, if values
need to be calculated or functions are used in parameters.
Avoid all useless work by checking inside the macro, before we look
at any parameters passed to the logging functions.
Diffstat (limited to 'man/machinectl.xml')
0 files changed, 0 insertions, 0 deletions