Sha256: c81d80416b906b4d5c9d84e5f7ac5cfa94c28733c4fc2ae65ac0694c180d2ed7

Contents?: true

Size: 1.57 KB

Versions: 18

Compression:

Stored size: 1.57 KB

Contents

/**
 * @file: debug.h - Diagnostic logging functions for liboboe.
 *
 * Most of the diagnostics logging interface is defined in oboe.h but we
 * separate some of it out here for special handling when generating
 * SWIG interfaces.
 */

#ifndef _OBOE_DEBUG_H
#define _OBOE_DEBUG_H

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Defined diagnostic log detail levels.
 */
enum OBOE_DEBUG_LOG_LEVEL {
    OBOE_DEBUG_DISABLED = -1,
    OBOE_DEBUG_FATAL = 0,
    OBOE_DEBUG_ERROR = 1,
    OBOE_DEBUG_WARNING = 2,
    OBOE_DEBUG_INFO = 3,
    OBOE_DEBUG_LOW = 4,
    OBOE_DEBUG_MEDIUM = 5,
    OBOE_DEBUG_HIGH = 6
};

/**
 * Defined modules that do diagnostic logging.
 */
enum OBOE_DEBUG_MODULE {
    OBOE_MODULE_ALL = -1,           /*!< Pseudo module to refer to ALL modules - used for configuring generic settings */
    OBOE_MODULE_UNDEF = 0,          /*!< Generic (undefined) module */
    OBOE_MODULE_LIBOBOE,            /*!< The core Oboe library */
    OBOE_MODULE_SETTINGS,           /*!< The Oboe settings functionality */
    OBOE_MODULE_REPORTER_FILE,      /*!< File reporter */
    OBOE_MODULE_REPORTER_UDP,       /*!< UDP (Tracelyzer) reporter */
    OBOE_MODULE_REPORTER_SSL,       /*!< SSL reporter */
    OBOE_MODULE_APACHE,             /*!< Apache webserver */
    OBOE_MODULE_NGINX,              /*!< Nginx webserver */
    OBOE_MODULE_PHP,                /*!< PHP interpreter */
	OBOE_MODULE_DOTNET,                /*!< dotnet wrapper */
};

/**
 * Initial debug log detail level.
 *
 */
#define LOGLEVEL_DEFAULT OBOE_DEBUG_INFO

#ifdef __cplusplus
} // extern "C"
#endif

#endif // _OBOE_DEBUG_H

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
appoptics_apm-4.11.1 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.11.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.10.1 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.10.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.9.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.8.4 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.8.3 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.8.2 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.8.1 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.8.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.7.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.6.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm_mnfst-4.5.2 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.5.2 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.5.1 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.5.0 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.4.1 ext/oboe_metal/src/oboe_debug.h
appoptics_apm-4.4.0 ext/oboe_metal/src/oboe_debug.h