Header Header

Logging


Detailed Description

Functions for logging.


Functions

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.
gxi32 gx_writelogv (gxHANDLE handle, gxi32 level, const wchar_t *str, va_list args)
 Writes a log.
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.
gxi32 gx_writelogv (gxHANDLE handle, gxi32 level, const char *str, va_list args)
 Writes a log.
gxi32 gx_writelogv (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const char *str, va_list args)
 Writes a log with debug information.
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.
gxi32 gx_writelog (gxHANDLE handle, gxi32 level, const wchar_t *str,...)
 Writes a log.
gxi32 gx_writeloga (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const char *str,...)
 Writes a log with debug information.
gxi32 gx_writelog (gxHANDLE handle, gxi32 level, const char *str,...)
 Writes a log.
gxi32 gx_writelog (gxHANDLE handle, gxi32 level, const char *file, gxi32 line, const char *function, const char *str,...)
 Writes a log with debug information.
gxi32 gx_writelogv (gxi32 level, const char *file, gxi32 line, const char *function, const wchar_t *str, va_list args)
 Writes a log with debug information.
gxi32 gx_writelogv (gxi32 level, const wchar_t *str, va_list args)
 Writes a log.
gxi32 gx_writelogv (gxi32 level, const char *file, gxi32 line, const char *function, const char *str, va_list args)
 Writes a log with debug information.
gxi32 gx_writelogv (gxi32 level, const char *str, va_list args)
 Writes a log with debug information.
gxi32 gx_writelog (gxi32 level, const char *file, gxi32 line, const char *function, const wchar_t *str,...)
 Writes a log with debug information.
gxi32 gx_writelog (gxi32 level, const wchar_t *str,...)
 Writes a log with debug information.
gxi32 gx_writelog (gxi32 level, const char *file, gxi32 line, const char *function, const char *str,...)
 Writes a log with debug information.
gxi32 gx_writelog (gxi32 level, const char *str,...)
 Writes a log.


Function Documentation

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

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 gxLog::_WriteLog(), gx_writelog(), gx_writelogv(), gxLog::WriteLog(), and gxLog::WriteLogv().

gxi32 gx_writelogv ( gxHANDLE  handle,
gxi32  level,
const wchar_t *  str,
va_list  args 
) [inline]

Writes a log.

(Unicode version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
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_writelogv().

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

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(), and gx_writelogv().

gxi32 gx_writelogv ( gxHANDLE  handle,
gxi32  level,
const char *  str,
va_list  args 
) [inline]

Writes a log.

(ASCII version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
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_writelogva().

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

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_writelogva().

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

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().

Referenced by gxLog::WriteEmergency(), gxLog::WriteError(), gxLog::WriteFatal(), gxLog::WriteInfo(), gxLog::WriteInfo2(), gxLog::WriteInfo3(), gxLog::WriteLog(), and gxLog::WriteWarning().

gxi32 gx_writelog ( gxHANDLE  handle,
gxi32  level,
const wchar_t *  str,
  ... 
) [inline]

Writes a log.

(Unicode version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
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().

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

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().

gxi32 gx_writelog ( gxHANDLE  handle,
gxi32  level,
const char *  str,
  ... 
) [inline]

Writes a log.

(ASCII version)

Parameters:
handle Handle of an opened LOG module.
level Level of the log item. (see GX_LOGLEVELS)
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().

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

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_writelogv().

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

Writes a log with debug information.

(Unicode version)

Parameters:
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_direct(), and gx_writelogv().

gxi32 gx_writelogv ( gxi32  level,
const wchar_t *  str,
va_list  args 
) [inline]

Writes a log.

(Unicode version)

Parameters:
level Level of the log item. (see GX_LOGLEVELS)
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_writelogv().

gxi32 gx_writelogv ( gxi32  level,
const char *  file,
gxi32  line,
const char *  function,
const char *  str,
va_list  args 
) [inline]

Writes a log with debug information.

(ASCII version)

Parameters:
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_direct(), and gx_writelogv().

gxi32 gx_writelogv ( gxi32  level,
const char *  str,
va_list  args 
) [inline]

Writes a log with debug information.

(ASCII version)

Parameters:
level Level of the log item. (see GX_LOGLEVELS)
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_writelogv().

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

Writes a log with debug information.

(Unicode version)

Parameters:
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_direct(), and gx_writelogv().

gxi32 gx_writelog ( gxi32  level,
const wchar_t *  str,
  ... 
) [inline]

Writes a log with debug information.

(Unicode version)

Parameters:
level Level of the log item. (see GX_LOGLEVELS)
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().

gxi32 gx_writelog ( gxi32  level,
const char *  file,
gxi32  line,
const char *  function,
const char *  str,
  ... 
) [inline]

Writes a log with debug information.

(ASCII version)

Parameters:
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_direct(), and gx_writelogv().

gxi32 gx_writelog ( gxi32  level,
const char *  str,
  ... 
) [inline]

Writes a log.

(ASCII version)

Parameters:
level Level of the log item. (see GX_LOGLEVELS)
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().


Generated  for GX
(c) ARH Inc.