Header Header

Logging


Detailed Description

Functions for logging.


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.


Function Documentation

static gxi32 gx_writelogv ( gxHANDLE  handle,
gxi32  level,
const char *  file,
gxi32  line,
const char *  function,
const wchar_t *  str,
va_list  args 
) [static]

Writes a log with debug information.

(Unicode version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
file Name of the source file where the function is called (in debug mode).
line Line number of the source file where the function is called (in debug mode).
function Name of the function where the log function is called (in debug mode).
str Description text of the log.
args Arguments for the log function.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_writelog().

static gxi32 gx_writelogva ( gxHANDLE  handle,
gxi32  level,
const char *  file,
gxi32  line,
const char *  function,
const char *  str,
va_list  args 
) [static]

Writes a log with debug information.

(ASCII version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
file Name of the source file where the function is called (in debug mode).
line Line number of the source file where the function is called (in debug mode).
function Name of the function where the log function is called (in debug mode).
str Description text of the log.
args Arguments for the log function.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_writeloga().

static gxi32 gx_writelog ( gxHANDLE  handle,
gxi32  level,
const char *  file,
gxi32  line,
const char *  function,
const wchar_t *  str,
  ... 
) [static]

Writes a log with debug information.

(Unicode version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
file Name of the source file where the function is called (in debug mode).
line Line number of the source file where the function is called (in debug mode).
function Name of the function where the log function is called (in debug mode).
str Description text of the log.
... Arguments for the log function (like printf).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_writelogv().

static gxi32 gx_writeloga ( gxHANDLE  handle,
gxi32  level,
const char *  file,
gxi32  line,
const char *  function,
const char *  str,
  ... 
) [static]

Writes a log with debug information.

(ASCII version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
file Name of the source file where the function is called (in debug mode).
line Line number of the source file where the function is called (in debug mode).
function Name of the function where the log function is called (in debug mode).
str Description text of the log.
... Arguments for the log function (like printf).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_writelogva().


Generated  for GX
(c) Adaptive Recognition