1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
mpv/DOCS
wm4 23b83c6676 client API: allow using msg-level option for log messages
Client API users can enable log output with mpv_request_log_messages().
But you can enable only a single log level. This is normally enough, but
the --msg-level option (which controls the terminal log level) provides
more flexibility. Due to internal complexity, it would be hard to
provide the same flexibility for each client API handle. But there's a
simple way to achieve basically the same thing: add an option that sends
log messages to the API handle, which would also be printed to the
terminal as by --msg-level.

The only change is that we don't disable this logic if the terminal is
disabled. Instead we check for this before the message is output, which
in theory can lower performance if messages are being spammed. It could
be handled with some more effort, but the gain would be negligible.
2015-06-20 21:40:47 +02:00
..
client_api_examples DOCS: fix wrong libmpv's cocoa example comment 2015-05-27 14:34:42 +02:00
man osc: time display configuration options 2015-06-19 21:33:44 +02:00
client-api-changes.rst client API: allow using msg-level option for log messages 2015-06-20 21:40:47 +02:00
compile-windows.md DOCS/compile-windows.md: fix Lua package 2015-06-18 18:41:09 +02:00
contribute.md manpage: update mpv IRC channels 2015-04-27 23:21:58 +02:00
edl-mpv.rst Drop libquvi support 2014-10-25 20:18:22 +02:00
encoding.rst manpage: update config file locations 2014-06-28 15:55:09 +02:00
interface-changes.rst command: add keypress, keydown, and keyup commands. 2015-06-11 21:42:09 +02:00
mplayer-changes.rst Various spelling fixes 2015-06-18 19:36:58 +02:00
release-policy.md DOCS: mark the recent release in client-api-changes.rst 2014-08-12 23:01:19 +02:00
tech-overview.txt options: remove --leak-report 2015-05-02 19:03:28 +02:00
waf-buildsystem.rst Various spelling fixes 2015-06-18 19:36:58 +02:00