|
IMP
2.0.1
The Integrative Modeling Platform
|
Create a new log context. More...
#include <IMP/base/CreateLogContext.h>
Inheritance diagram for IMP::base::CreateLogContext:Public Member Functions | |
| CreateLogContext (std::string fname, const void *object=nullptr) | |
| 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 |
The following produces
myfunction: 1 2 3
The 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.
Definition at line 48 of file CreateLogContext.h.