LV2  1.0.13
Data Fields
LV2_Log_Log Struct Reference

Log feature (LV2_LOG__log) More...

Data Fields

LV2_Log_Handle handle
 Opaque pointer to host data. More...
 
int(* printf )(LV2_Log_Handle handle, LV2_URID type, const char *fmt,...)
 Log a message, passing format parameters directly. More...
 
int(* vprintf )(LV2_Log_Handle handle, LV2_URID type, const char *fmt, va_list ap)
 Log a message, passing format parameters in a va_list. More...
 

Detailed Description

Log feature (LV2_LOG__log)

Field Documentation

LV2_Log_Handle LV2_Log_Log::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.

int(* LV2_Log_Log::printf) (LV2_Log_Handle handle, LV2_URID type, const char *fmt,...)

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.

int(* LV2_Log_Log::vprintf) (LV2_Log_Handle handle, LV2_URID type, const char *fmt, va_list ap)

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: