CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::ScopedLogging Class Reference

#include <Log.hh>

Detailed Description

For the life of ScopedLogging CASM::log() and CASM::err_log() provide references to new_log and new_err_log, unless overridden by another ScopedLogging. The references are reverted upon destruction.

Definition at line 470 of file Log.hh.

Public Member Functions

 ScopedLogging (Log &new_log, Log &new_err_log)
 
 ~ScopedLogging ()
 

Public Attributes

Log m_old_log
 
Log m_old_err_log
 

Constructor & Destructor Documentation

◆ ScopedLogging()

CASM::ScopedLogging::ScopedLogging ( Log new_log,
Log new_err_log 
)
inline

Definition at line 472 of file Log.hh.

◆ ~ScopedLogging()

CASM::ScopedLogging::~ScopedLogging ( )
inline

Definition at line 478 of file Log.hh.

Member Data Documentation

◆ m_old_err_log

Log CASM::ScopedLogging::m_old_err_log

Definition at line 484 of file Log.hh.

◆ m_old_log

Log CASM::ScopedLogging::m_old_log

Definition at line 483 of file Log.hh.


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