Kolibri library – API Documentation

Header image

Main page

typedef void(* KolibriLogCb) (KolibriLogType type, char const *msg,...)

Type of call-back function that can be registered through kolibriRegisterLogCb()

Here is an example of a log call-back function that dumps all messages to stdout:

#include <stdarg.h>
void logCb(KolibriLogType type, char const *msg, ...)
va_list argList;
va_start(argList, msg);
vprintf(msg, argList);
typeType of message that is to be logged
msgEither a plain text message or a format string to achieve printf-like formatted output
...Format specifiers; refer to printf()

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10