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

#include <IMP/base/file.h>

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

Public Member Functions

 SetLogTarget (TextOutput to)
 
void reset ()
 
void set (TextOutput to)
 
void show (std::ostream &out=std::cout) const
 

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 136 of file base/file.h.

Constructor & Destructor Documentation

IMP::base::SetLogTarget::SetLogTarget ( TextOutput  to)
explicit

explicit constructor that sets the properties of SetLogTarget

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

Member Function Documentation

void IMP::base::SetLogTarget::reset ( )

resets the properties previously set for this class

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

void IMP::base::SetLogTarget::set ( TextOutput  to)

sets the properties of the class to new ones

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


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