diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-08-15 20:56:08 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-08-15 22:44:13 -0400 |
commit | 560877d89847b25b201580e083119f0b23ff75c1 (patch) | |
tree | cb50dd12b0b884f7c7dea74102d321d63bb1d37f /src/log.h | |
parent | 8f573b6c425dc82be42ad80eae565b0641a90a3b (diff) | |
download | mana-560877d89847b25b201580e083119f0b23ff75c1.tar.gz mana-560877d89847b25b201580e083119f0b23ff75c1.tar.bz2 mana-560877d89847b25b201580e083119f0b23ff75c1.tar.xz mana-560877d89847b25b201580e083119f0b23ff75c1.zip |
Remove the logToChat option
This is a very old legacy option. Today its not very
useful because the logger had become quite verbose that
using it during run-time is not helpful.
Reviewed-By: Jared Adams
Reviewed-By: Freeyorp
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -24,8 +24,6 @@ #include <fstream> -class ChatWindow; - /** * The Log Class : Useful to write debug or info messages */ @@ -53,11 +51,6 @@ class Logger void setLogToStandardOut(bool value) { mLogToStandardOut = value; } /** - * Enables logging to chat window - */ - void setChatWindow(ChatWindow *window) { mChatWindow = window; } - - /** * Enters a message in the log. The message will be timestamped. */ void log(const char *log_text, ...) @@ -75,7 +68,6 @@ class Logger private: std::ofstream mLogFile; bool mLogToStandardOut; - ChatWindow *mChatWindow; }; extern Logger *logger; |