1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/log
Zdenek Kabelac 6af26273cb logging: add more log macros
Introduce macros:

log_level(), log_stderr(), log_once(), log_bypass_report()

For easier and more consisten way how to 'decoder' bits
of info from passed 'level'.

This patch fixes potential problem when 'level' of message
might not have always masked right bits.
2016-11-03 12:43:09 +01:00
..
log.c logging: add more log macros 2016-11-03 12:43:09 +01:00
log.h logging: add more log macros 2016-11-03 12:43:09 +01:00
lvm-logging.h shell: also collect last command's return code for subsequent 'lastlog' invocation 2016-08-09 18:24:45 +02:00