summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-16 21:37:29 +0100
committerwm4 <wm4@nowhere>2014-01-16 23:06:41 +0100
commite10e1a57d07f947727046750c1b7e6d505d1f5fc (patch)
treebc7c2a8abd63968d1b01beeac0ee6087d1d0d52e /player/lua
parentd646d78ccb2fac0ac1a052dc4c9edef3ba734d62 (diff)
downloadmpv-e10e1a57d07f947727046750c1b7e6d505d1f5fc.tar.bz2
mpv-e10e1a57d07f947727046750c1b7e6d505d1f5fc.tar.xz
lua: use core log level names
When the Lua code was written, the core didn't have names for log levels yet (just numbers). The only user visible change is that "verbose" becomes "v", since this level had different names.
Diffstat (limited to 'player/lua')
-rw-r--r--player/lua/defaults.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua
index d24cda9cbe..4b5e5e6126 100644
--- a/player/lua/defaults.lua
+++ b/player/lua/defaults.lua
@@ -70,7 +70,7 @@ mp.msg = {
error = function(...) return mp.log("error", ...) end,
warn = function(...) return mp.log("warn", ...) end,
info = function(...) return mp.log("info", ...) end,
- verbose = function(...) return mp.log("verbose", ...) end,
+ verbose = function(...) return mp.log("v", ...) end,
debug = function(...) return mp.log("debug", ...) end,
}