diff options
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,14 +32,14 @@ class Logger { public: /** - * Constructor, opens log file for writing. + * Destructor, closes log file. */ - Logger(const std::string &logFilename); + ~Logger(); /** - * Destructor, closes log file. + * Sets the file to log to and opens it */ - ~Logger(); + void setLogFile(const std::string &logFilename); /** * Enters a message in the log. The message will be timestamped. |