diff options
author | wm4 <wm4@nowhere> | 2019-11-07 22:34:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-07 22:53:13 +0100 |
commit | 17dde8eeb6516b8000248c3bcce293d695232865 (patch) | |
tree | a712cf6606a0f7045c0b548ef5a09d134187714b | |
parent | 1c8d2246bf03626f098139f31e67d1452a41fa73 (diff) | |
download | mpv-17dde8eeb6516b8000248c3bcce293d695232865.tar.bz2 mpv-17dde8eeb6516b8000248c3bcce293d695232865.tar.xz |
msg: try to document purpose of log levels better
(But I bet nobody ever reads this anyway.)
-rw-r--r-- | common/msg.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/common/msg.h b/common/msg.h index 635a85191f..5c580b8b84 100644 --- a/common/msg.h +++ b/common/msg.h @@ -32,14 +32,15 @@ extern struct mp_log *const mp_null_log; // Verbosity levels. enum { - MSGL_FATAL, // will exit/abort (note: msg.c doesn't exit or abort) - MSGL_ERR, // continues - MSGL_WARN, // only warning - MSGL_INFO, // -quiet - MSGL_STATUS, // exclusively for the playback status line - MSGL_V, // -v - MSGL_DEBUG, // -v -v - MSGL_TRACE, // -v -v -v + MSGL_FATAL, // only errors (difference to MSGL_ERR isn't too clear) + MSGL_ERR, // only errors + MSGL_WARN, // only warnings + MSGL_INFO, // what you normally see on the terminal + MSGL_STATUS, // exclusively for the playback status line (-quiet disables) + MSGL_V, // -v | slightly more information than default + MSGL_DEBUG, // -v -v | full debug information; this and numerically below + // should not produce "per frame" output + MSGL_TRACE, // -v -v -v | anything that might flood the terminal MSGL_STATS, // dumping fine grained stats (--dump-stats) MSGL_MAX = MSGL_STATS, |