Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kApiLib_SetLogfHandler | ( | kApiLogfFx | function | ) |

Sets a handler function for debug logging operations.

By default, logging operations are ignored (log information discarded). Call this function to override the default behaviour.

This function is not thread-safe and should be called before calling kApiLib_Construct.

Parameters

  function | Log callback function.

Returns
  Operation status.