36 #define AURYN_LOGGER_CERRLEVEL WARNING 52 std::ofstream outfile;
92 std::stringstream oss;
93 oss << std::scientific <<
" Parameter " << name <<
"=" << value;
void progress(std::string text)
Definition: Logger.cpp:121
void notification(std::string text)
Definition: Logger.cpp:131
void set_logfile_loglevel(LogMessageType level=NOTIFICATION)
Sets loglevel for file output.
Definition: Logger.cpp:63
void parameter(std::string name, T value)
Definition: Logger.h:90
virtual ~Logger()
Definition: Logger.cpp:50
void warning(std::string text)
Definition: Logger.cpp:136
void set_console_loglevel(LogMessageType level=PROGRESS)
Sets loglevel for console output.
Definition: Logger.cpp:58
void info(std::string text)
Definition: Logger.cpp:126
Definition: ABSConnection.h:38
A generic logger class that logs to screen and a log-file.
Definition: Logger.h:48
Logger(std::string filename, int rank, LogMessageType console=PROGRESS, LogMessageType file=NOTIFICATION)
Definition: Logger.cpp:31
void verbose(std::string text, bool global=false, int line=-1, std::string srcfile="")
Definition: Logger.cpp:146
void set_rank(int rank)
Definition: Logger.cpp:156
void error(std::string text)
Definition: Logger.cpp:141
void msg(std::string text, LogMessageType type=NOTIFICATION, bool global=false, int line=-1, std::string srcfile="")
Definition: Logger.cpp:74
LogMessageType
Enum type for significance level of a given message send to the Logger.
Definition: Logger.h:41
void debug(std::string text, bool global=false, int line=-1, std::string srcfile="")
Definition: Logger.cpp:151
void set_debugging_mode()
Turns on verbosity on all channels.
Definition: Logger.cpp:68
std::string string
Standard library string type which is imported into Auryn namespace.
Definition: auryn_definitions.h:156