Create a new log context.
The following produces
myfunction:
1
2
3The more interesting use is that you can use it before calling a function to ensure that all the output of that function is nicely offset.
Public Member Functions | |
| CreateLogContext (const char *fname, const void *object=nullptr) | |
| void | reset () |
| void | set (const char *fname, const void *object=nullptr) |
| void | show (std::ostream &out=std::cout) const |