Provide an optional timestamp?
MrHate opened this issue · comments
Gongyu Deng commented
How about providing a macro name to switch whether to print timestamp before each line?
just like:
#define DBG_MACRO_TIMESTAMP
#include <dbg.h>
then
(13:18:53)[demo.cpp:34 (main)] test_int = 42 (int)
David Peter commented