Update log.hpp
This commit is contained in:
parent
43ea66236c
commit
c733394277
5
log.hpp
5
log.hpp
@ -17,13 +17,14 @@ class Log
|
||||
/// \param filename name for the file
|
||||
void Init(const char *filename);
|
||||
/// Write Text to logfile
|
||||
/// debug_text: your text
|
||||
/// \param debug_text your text
|
||||
void Write(std::string debug_text);
|
||||
/// Get the date
|
||||
std::string logDate(void);
|
||||
/// Format to logstyle
|
||||
/// fmt_str: the formatted style
|
||||
/// \param fmt_str the formatted style
|
||||
std::string format(const std::string& fmt_str, ...);
|
||||
private:
|
||||
/// param filename the name of the logfile
|
||||
std::string filename;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user