LyX Developers,

I regularly perform command-line-based execution of LyX and am subject to
the resulting CLI output.  I've noticed messages have several formats
despite both being driven by `src/support/debug.h`.  For example, I see
messages coming from both

Buffer.cpp: LYXERR0("Warning: a buffer should not have two parents!");


and

mathed/MathParser.cpp: lyxerr << "unusual contents found: " << ar << endl;


I have configured no debug verbosity settings.

The Buffer call has more information (in the way of source-file ID and line
number).  The latter message is formatted less "formally" (purely lower
case, no location or other contextual information, etc.).

Is there a reason that these diagnostic messages have different approaches
and forms (maybe to avoid constructing a string to send to LYXERR0)?  If
unintentional, is there a preferred form (mine would be the former)?  If
so, is there interest in me submitting a patch to unify toward a
consistent approach?

I look forward to your thoughts on these matters and how best I can help
unify this output.

In the meantime, please contact me with any comments, questions, or
concerns.

Thank you,
Joel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to