From 97409ec4e652a2d56c3d77764cf9858b19b5cea9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Feb 2014 22:45:34 +0100 Subject: msg: add --msgtime option to add timestamps to each output message Will be helpful to track down strange wait times and such issues, as well when you have develop something timing related. (Then you may print timestamps in your debug output, and the --msgtime timestamps will help giving context.) --- options/options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 202fb42c49..835ff21f9f 100644 --- a/options/options.c +++ b/options/options.c @@ -232,6 +232,7 @@ const m_option_t mp_opts[] = { .type = &m_option_type_msglevels), OPT_FLAG("msgcolor", msg_color, CONF_GLOBAL | CONF_PRE_PARSE), OPT_FLAG("msgmodule", msg_module, CONF_GLOBAL), + OPT_FLAG("msgtime", msg_time, CONF_GLOBAL), OPT_FLAG("identify", msg_identify, CONF_GLOBAL), #if HAVE_PRIORITY {"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL}, -- cgit v1.2.3