#include <log.hpp>
Public Member Functions | |
Log () | |
~Log () | |
void | Init (const char *filename) |
void | Write (std::string debug_text) |
std::string | logDate (void) |
Get the date. | |
std::string | format (const std::string &fmt_str,...) |
Log Class
Log::Log | ( | ) |
Construct
Log::~Log | ( | ) |
Deconstruct
void Log::Init | ( | const char * | filename | ) |
Init the log file filename: name for the file
void Log::Write | ( | std::string | debug_text | ) |
Write Text to logfile debug_text: your text
std::string Log::format | ( | const std::string & | fmt_str, |
... | |||
) |
Format to logstyle fmt_str: the formatted style