IMP  2.1.0
The Integrative Modeling Platform
IMP::base::SetLogTarget Class Reference

#include <IMP/base/file.h>

+ Inheritance diagram for IMP::base::SetLogTarget:

Public Member Functions

 IMP_RAII (SetLogTarget,(TextOutput to), old_=get_log_target();, set_log_target(to);, set_log_target(old_);,)
 

Detailed Description

Set the log target to a given value and reset it when the object is destroyed. Use this in Python to set the target of logs.

Definition at line 133 of file base/file.h.


The documentation for this class was generated from the following file: