svMultiPhysics
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SimulationLogger Class Reference

The SimulationLogger class is used to write information to a text file and optionally to cout. More...

#include <SimulationLogger.h>

Public Member Functions

 SimulationLogger (const std::string &file_name, bool cout_write=false)
 
void initialize (const std::string &file_name, bool cout_write=false) const
 
bool is_initialized () const
 
template<class T >
const SimulationLoggeroperator<< (const T &value) const
 
const SimulationLoggeroperator<< (const std::vector< std::string > &values) const
 
const SimulationLoggeroperator<< (std::ostream &(*value)(std::ostream &o)) const
 
template<typename... Args>
const SimulationLoggerlog_message (const Args &... args) const
 Log a message with automatic space separation.
 

Detailed Description

The SimulationLogger class is used to write information to a text file and optionally to cout.

Member Function Documentation

◆ log_message()

template<typename... Args>
const SimulationLogger & SimulationLogger::log_message ( const Args &...  args) const
inline

Log a message with automatic space separation.

Parameters
argsArguments to log

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