# Debug and Logging

## Functions
DLLEXPORT TECELLA_ERRNUM CALL | tecella_debug (const char *logfile)
DLLEXPORT TECELLA_ERRNUM CALL | tecella_debug_default ()

## Function Documentation

DLLEXPORT TECELLA_ERRNUM CALL tecella_debug | ( | const char * | logfile | ) |

Turns debug logging on or off. When enabled, all API function calls will be logged on entry and exit with their argument values. If applicable, please include this log file in any bug reports.

Parameters:

  | logfile | The filename of the debug log. An empty filename "" turns debug off.

DLLEXPORT TECELLA_ERRNUM CALL tecella_debug_default | ( |  | ) |

Turns debug mode on using the filename "tecella_debug.txt" Same as calling tecella_debug("tecella_debug.txt").