Description
Currently when using the new ci::log stuff (in glNext branch), you always get position info. This is a good default, but in some situations it would be nice if you could turn off these details. One reason would be because the position info was already logged the line before, another would be that you just want a clean window for debug purposes.
I'm not sure yet how flexible or simple we want to make this. Something like the following comes to mind:
ci::log::manager()->setLogPositionFormat( ??? );
Though, what to put in the argument? Enum? FormatOptions? I'm also thinking that a RAII call might be handy, where you just want to turn off detailed info for a block of code, but don't want to effect further logging.
The reasons why still using ci::log over something like std::cout would be that you can route to different types of loggers (file or network, async etc), and still get compile time control over the code being executed or not when using CI_LOG_X
.