Header Header

gxlog.h File Reference


Detailed Description

Logging interface

The GX is the base system for the majority of the Adaptive Recognition products. It is a collection of loadable modules and library functions and gives an easy to program interface to the hardware devices.

This file contains the descriptions of classes and functions of the logging module.

Go to the source code of this file.

Enumerations

enum  GX_LOGLEVELS {
  GX_NONE = 0,
  GX_EMERG,
  GX_FATAL,
  GX_ERROR,
  GX_WARN,
  GX_INFO,
  GX_INFO2,
  GX_INFO3,
  GX_DEBUG,
  GX_DEBUG2
}
 Enumerations for the log levels. More...

Functions

static gxi32 gx_writelogv (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const wchar_t *str, va_list args)
 Writes a log with debug information.
static gxi32 gx_writelogva (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const char *str, va_list args)
 Writes a log with debug information.
static gxi32 gx_writelog (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const wchar_t *str,...)
 Writes a log with debug information.
static gxi32 gx_writeloga (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const char *str,...)
 Writes a log with debug information.


Enumeration Type Documentation

Enumerations for the log levels.

Enumerator:
GX_NONE  No log messages.

GX_EMERG  Emergency messages, application broken and probably loss of data.

GX_FATAL  Fatal error, the application can not be continued.

GX_ERROR  Normal error, the application can be continued or terminated with error.

GX_WARN  Warning messages, the application can be continued.

GX_INFO  Information 1.

GX_INFO2  Information 2.

GX_INFO3  Information 3.

GX_DEBUG  Normal debug.

(Only if the NDEBUG was not defined)

GX_DEBUG2  Debug in low-level mode.

(Only if the NDEBUG was not defined)


Generated  for GX
(c) Adaptive Recognition