svMultiPhysics
|
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. | |
The SimulationLogger class is used to write information to a text file and optionally to cout.
|
inline |
Log a message with automatic space separation.
args | Arguments to log |