svMultiPhysics
Loading...
Searching...
No Matches
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 SimulationLogger & operator<< (const T &value) const
const SimulationLogger & operator<< (const std::vector< std::string > &values) const
const SimulationLogger & operator<< (std::ostream &(*value)(std::ostream &o)) const
template<typename... Args>
const SimulationLogger & log_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: