MythTV  master
mythsyslog.h
Go to the documentation of this file.
1 // The system syslog.h header file defines a series of LOG_XXX names
2 // that override all of the LogLevel_t enum names.
3 #include <syslog.h>
4 
5 // Delete all of the LOG_XXX names that were just defined, allowing
6 // the compiler to see the LogLevel_t enum names again. This allows
7 // the compiler to perform better checking whenever this enum is used
8 // as a function argument.
9 #undef LOG_EMERG
10 #undef LOG_ALERT
11 #undef LOG_CRIT
12 #undef LOG_ERR
13 #undef LOG_WARNING
14 #undef LOG_NOTICE
15 #undef LOG_INFO
16 #undef LOG_DEBUG