FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTquietlogger.hpp>
Public Member Functions | |
FMTquietlogger () | |
FMTquietlogger (const FMTquietlogger &)=default | |
FMTquietlogger & | operator= (const FMTquietlogger &)=default |
~FMTquietlogger ()=default | |
int | print () override |
void | checkSeverity () override |
FMTlogger * | clone () const override |
void | cout (const char *message) const override |
Public Member Functions inherited from Logging::FMTlogger | |
FMTlogger () | |
virtual | ~FMTlogger () |
FMTlogger (const FMTlogger &rhs) | |
void | redirectofile (const std::string &filename) |
void | closefilestream () |
FMTlogger & | operator= (const FMTlogger &rhs) |
virtual int | print () |
virtual void | checkSeverity () |
virtual FMTlogger * | clone () const |
virtual std::string | getlogstamp () const |
virtual void | logstamp () |
virtual void | logtime () |
void | setstreamflush (bool flush) |
virtual FMTlogger & | operator<< (const std::string &msg) |
virtual FMTlogger & | operator<< (const int &msg) |
virtual FMTlogger & | operator<< (const double &msg) |
virtual FMTlogger & | operator<< (const float &msg) |
virtual FMTlogger & | operator<< (const std::time_t &msg) |
virtual FMTlogger & | operator<< (const size_t &msg) |
virtual FMTlogger & | operator<< (const unsigned int &msg) |
virtual bool | logwithlevel (const std::string &msg, const int &messagelevel) const |
virtual FMTsolverlogger * | getsolverlogger () |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Member Functions inherited from Logging::FMTlogger | |
virtual void | cout (const char *message) const |
virtual void | setlogginglevel (const int &level) |
Protected Attributes inherited from Logging::FMTlogger | |
std::unique_ptr< FMTsolverlogger > | solverref |
std::string | filepath |
string path the the potential filestream | |
std::ofstream * | filestream |
stream if the logger redirect the logging into somesort of file. | |
boost::recursive_mutex | mtx |
Mutex for multi-threading. | |
bool | flushstream |
If true will flush stream at each write. | |
FMTquietlogger will not print any solver informations from osisolverinterface.
Logging::FMTquietlogger::FMTquietlogger | ( | ) |
FMTquietlogger default constructor.
|
default |
FMTquietlogger default copy constructor.
|
default |
FMTquietlogger default destructor.
|
overridevirtual |
See FMTlogger checkSeverity function.
Reimplemented from Logging::FMTlogger.
|
overridevirtual |
See FMTlogger clone function.
Reimplemented from Logging::FMTlogger.
|
overridevirtual |
See FMTlogger cout function that does nothing.
Reimplemented from Logging::FMTlogger.
|
default |
FMTquietlogger default copy assignment.
|
overridevirtual |
FMTquietlogger print nothing with osisolverinterface. See FMTlogger print function.
Reimplemented from Logging::FMTlogger.
|
friend |
Serialize function is for serialization, used to do multiprocessing across multiple cpus (pickle in Pyhton)