Celartem::Debug Struct Reference

#include <cel_debug.h>

List of all members.

Static Public Member Functions

static void assertion_failed (bool f, const char *description, const char *filename, long line, const char *funcname)
static void set_dbgenv ()
static void writeLog (const char *message)


Detailed Description

This structure provides the functions related to debug.

Definition at line 36 of file cel_debug.h.


Member Function Documentation

static void Celartem::Debug::assertion_failed ( bool  f,
const char *  description,
const char *  filename,
long  line,
const char *  funcname 
) [static]

This function is internally used in CEL_ASSERT, and usually not to be used directly.

See also:
Debugging Your Code, CEL_ASSERT

static void Celartem::Debug::set_dbgenv (  )  [static]

This function initializes the debugging environment if the module is debug version.

See also:
Debugging Your Code, CEL_ASSERT

static void Celartem::Debug::writeLog ( const char *  message  )  [static]

This function writes the debugging log into a log file if _PXLL_DEBUG_FILE environment value specifies a valid file name.

Parameters:
message The message to be written. The string will be directly written into the file without any charcode conversion.
See also:
_PXLL_DEBUG_FILE, Debugging Your Code


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:16 2008.