log.h
void Warning(const char *msg)
Function for logging a warning message.
Definition: log.h:114
Logger & operator=(Logger &other)=default
Copy assignment operator, copies a logger object.
void setLogToStderr()
Set the logger object to write to stderr.
Definition: log.cpp:42
void setLogToFile(const std::string &filepath, bool overwrite=false)
Set the logger object to write to specified file.
Definition: log.cpp:50
friend void Warning(const char *msg)
Function for logging a warning message.
Definition: log.h:114
Definition: apiAttributes.h:21
~Logger()
Destructor that closes and deletes the log stream object if required i.e. if the log stream is a file...
Definition: log.cpp:36
Logger()=default
Default constructor creates a logger object that does not point to any target/destination.