summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-19 13:46:58 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-19 13:46:58 +0000
commit06f587714bfef58adc608f72662bf5ea2df00ee8 (patch)
treea69a2f0411def5fb90b21e4daa689b5ee1ee0c5c /src/log.h
parent44cf0fd601f9f3f0bb51871dfe7b5645090f41e0 (diff)
downloadmana-06f587714bfef58adc608f72662bf5ea2df00ee8.tar.gz
mana-06f587714bfef58adc608f72662bf5ea2df00ee8.tar.bz2
mana-06f587714bfef58adc608f72662bf5ea2df00ee8.tar.xz
mana-06f587714bfef58adc608f72662bf5ea2df00ee8.zip
Added support for parsing command line options. Added option to skip the update process. Made the logger being created immediately after start, because some destructors use it.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/log.h b/src/log.h
index 9f6988c0..297df88f 100644
--- a/src/log.h
+++ b/src/log.h
@@ -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.