SPH
|
Interface providing generic (text, human readable) output of the program. More...
#include <Logger.h>
Public Member Functions | |
virtual void | writeString (const std::string &s)=0 |
Logs a string message. More... | |
template<typename... TArgs> | |
void | write (TArgs &&... args) |
Creates and logs a message by concatenating arguments. More... | |
void | setPrecision (const Size newPrecision) |
Changes the precision of printed numbers. More... | |
void | setScientific (const bool newScientific) |
Sets/unsets scientific notation. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Public Member Functions inherited from Noncopyable | |
Noncopyable ()=default | |
Noncopyable (const Noncopyable &)=delete | |
Noncopyable (Noncopyable &&)=default | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Noncopyable & | operator= (Noncopyable &&)=default |
Interface providing generic (text, human readable) output of the program.
It's meant for logging current time, some statistics of the simulation, encountered warnings and errors, etc. For output of particle quantities, use IOutput.
|
inline |
|
inline |
|
inline |
|
pure virtual |
Logs a string message.
Implemented in MultiLogger, FileLogger, StringLogger, and StdOutLogger.