Alamo
Functions
IO::OutputLog Namespace Reference

Functions

void Initialize ()
 
void Open (const std::string &path)
 
void DisableFile ()
 
void Finalize ()
 

Function Documentation

◆ DisableFile()

void IO::OutputLog::DisableFile ( )
private

Stop retaining output on ranks that do not own the log file.

Definition at line 152 of file OutputLog.cpp.

◆ Finalize()

void IO::OutputLog::Finalize ( )
private

Flush the log and restore the original terminal stream buffers.

Definition at line 157 of file OutputLog.cpp.

◆ Initialize()

void IO::OutputLog::Initialize ( )
private

Route stdout and stderr through the terminal/file tee.

Definition at line 138 of file OutputLog.cpp.

◆ Open()

void IO::OutputLog::Open ( const std::string &  path)
private

Open the rank-zero log after the output directory has been created.

Definition at line 147 of file OutputLog.cpp.