33#ifndef BD_LOG_CONTROL_H_
34#define BD_LOG_CONTROL_H_
42#ifdef BLURAY_API_EXPORT
43#include "util/attributes.h"
44#elif !defined(BD_PUBLIC)
51typedef enum debug_mask_enum {
52 DBG_RESERVED = 0x00001,
53 DBG_CONFIGFILE = 0x00002,
debug_mask_t
Flags for log filtering.
Definition log_control.h:51
@ DBG_CRIT
Critical messages and errors (default)
Definition log_control.h:63
@ DBG_DIR
Directory access.
Definition log_control.h:59
@ DBG_NAV
Database files (playlist and clip info).
Definition log_control.h:60
@ DBG_BDJ
BD-J subsystem and Xlet trace.
Definition log_control.h:65
@ DBG_BLURAY
BluRay player.
Definition log_control.h:58
@ DBG_GC
graphics controller trace
Definition log_control.h:67
@ DBG_JNI
JNI calls.
Definition log_control.h:69
@ DBG_HDMV
HDMV virtual machine execution trace.
Definition log_control.h:64
@ DBG_STREAM
m2ts stream trace
Definition log_control.h:66
@ DBG_DECODE
PG / IG decoders, m2ts demuxer.
Definition log_control.h:68
BD_PUBLIC void bd_set_debug_handler(BD_LOG_FUNC handler)
Set (global) debug handler.
void(* BD_LOG_FUNC)(const char *msg)
Log a message.
Definition log_control.h:77
BD_PUBLIC uint32_t bd_get_debug_mask(void)
Get current (global) debug mask.
BD_PUBLIC void bd_set_debug_mask(uint32_t mask)
Set (global) debug mask.