Debuging mechanism. More...
Defines | |
#define | OSCAP_DEBUG_FILE "oscap_debug.log" |
Hardcodede output filename. | |
#define | OSCAP_DEBUG_FILE_ENV "OSCAP_DEBUG_FILE" |
Name of the environment variable that can be used to change the default output filename. | |
#define | OSCAP_DEBUG_LEVEL_ENV "OSCAP_DEBUG_LEVEL" |
Name of the environment variable that can be used to change the debug level, i.e. | |
#define | OSCAP_DEBUG_PATHSTRIP_ENV "OSCAP_DEBUG_PSTRIP" |
Name of the environment variable that can be used to enable striping of __FILE__ paths. |
Debuging mechanism.
If you compile library with enabled debugging support, you will get log messages in file named according to OSCAP_DEBUG_FILE macro. You can change log file name by setting OSCAP_DEBUG_FILE environment variable to your needs.
#define OSCAP_DEBUG_FILE "oscap_debug.log" |
Hardcodede output filename.
This is used as the default filename if the variable specified by OSCAP_DEBUG_FILE_ENV isn't defined.
#define OSCAP_DEBUG_LEVEL_ENV "OSCAP_DEBUG_LEVEL" |
Name of the environment variable that can be used to change the debug level, i.e.
the number and verbosity of the debug messages. XXX: not implemented yet
#define OSCAP_DEBUG_PATHSTRIP_ENV "OSCAP_DEBUG_PSTRIP" |
Name of the environment variable that can be used to enable striping of __FILE__ paths.
It's numeric value specifies how many path tokens from the end should remain after striping. Value 1 is equal to basename(__FILE__) If this environment variable isn't defined or is set to 0 then no striping is done.