KatoDebug (Compact 2013)

3/26/2014

This function enables or disables the ability to route log to the local debugger.

Syntax

BOOL KatoDebug(
  BOOL fEnabled,
  DWORD dwMaxLogVerbosity,
  DWORD dwMaxCommentVerbosity,
  DWORD dwMaxLevel
);

Parameters

  • fEnabled
    TRUE enables debug logging; FALSE disables debug logging.
  • dwMaxLogVerbosity
    Maximum log verbosity value that can be sent to debug logging.
  • dwMaxCommentVerbosity
    Maximum comment verbosity value that can be sent to debug logging.
  • dwMaxLevel
    Maximum log hierarchical level that can be sent to debug logging.

Return Value

Nonzero if successful; otherwise, zero.

Remarks

You can use this function to route log output to the current active debugger. This functionality may be useful when debugging an application, because you can see log output intermixed with other application debug output.

Requirements

Header

kato.h

Library

kato.lib

See Also

Concepts

Common Functions for C and C++ Interfaces