libmpv  20200718-git-96cdf53
development library for the MPV media player
Looking for a C++ dev?
I'm looking for work. Hire me!
mpv_event_log_message Struct Reference

#include <client.h>

Public Attributes

const char * prefix
 The module prefix, identifies the sender of the message. More...
 
const char * level
 The log level as string. More...
 
const char * text
 The log message. More...
 
mpv_log_level log_level
 The same contents as the level field, but as a numeric ID. More...
 

Detailed Description

Definition at line 1556 of file client.h.

Member Data Documentation

◆ level

const char* mpv_event_log_message::level

The log level as string.

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

Definition at line 1568 of file client.h.

◆ log_level

mpv_log_level mpv_event_log_message::log_level

The same contents as the level field, but as a numeric ID.

Since API version 1.6.

Definition at line 1579 of file client.h.

◆ prefix

const char* mpv_event_log_message::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.

Definition at line 1563 of file client.h.

◆ text

const char* mpv_event_log_message::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.)

Definition at line 1574 of file client.h.


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