Debug
[COMMON]

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.

Detailed Description

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 Documentation

#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


Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1