mpv_event_log_message

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

level
const(char)* level;

The log level as string. See mpv_request_log_messages() for possible values. The level "no" is never used here.

log_level
mpv_log_level log_level;

The same contents as the level field, but as a numeric ID. Since API version 1.6.

prefix
const(char)* prefix;

The module prefix, identifies the sender of the message. As a special case, if the message buffer overflows, this will be set to the string "overflow" (which doesn't appear as prefix otherwise), and the text field will contain an informative message.

text
const(char)* text;

The log message. It consists of 1 line of text, and is terminated with a newline character. (Before API version 1.6, it could contain multiple or partial lines.)

Meta