Here is how you could shut off the extra information that rlog gives (such as filename, line number etc.). When you initialize rlog in your main()
function (or whereever), you might do the following:
rlog::RLogInit(argc, argv);
rlog::StdioNode slog (2, rlog::StdioNode::OutputColor);
slog.subscribeTo( RLOG_CHANNEL("error") );
The second argument to StdioNode
is for flags to control the output. Check the rlog documentation (can be generated with Doxygen) for the whole list of possible flags.
The one in the example here makes rlog only color the output according to severity, without any other information added.