LMMS
Loading...
Searching...
No Matches
LV2_Log_Log Struct Reference
LV2 » Log

#include <log.h>

Public Attributes

LV2_Log_Handle handle
int(* printf )(LV2_Log_Handle handle, LV2_URID type, const char *fmt,...)
int(* vprintf )(LV2_Log_Handle handle, LV2_URID type, const char *fmt, va_list ap)

Detailed Description

Log feature (LV2_LOG__log)

Member Data Documentation

◆ handle

Opaque pointer to host data.

This MUST be passed to methods in this struct whenever they are called. Otherwise, it must not be interpreted in any way.

◆ printf

Log a message, passing format parameters directly.

The API of this function matches that of the standard C printf function, except for the addition of the first two parameters. This function may be called from any non-realtime context, or from any context if type is LV2_LOG__Trace.

◆ vprintf

Log a message, passing format parameters in a va_list.

The API of this function matches that of the standard C vprintf function, except for the addition of the first two parameters. This function may be called from any non-realtime context, or from any context if type is LV2_LOG__Trace.


The documentation for this struct was generated from the following file: