Richard Heck <[EMAIL PROTECTED]> writes: > > > What do I need to #include to get things like: > lyxerr[DEBUG::gui] << > to work?
You need debug.h and you should type
LYXERR(DEBUG::gui) <<
LYXERR is a macro that expands to:
if (!lyx::lyxerr.debugging(type))
{
}
else
lyx::lyxerr
so you don't pay for the << ... << stuff if you don't want it.
Angus
