From 560877d89847b25b201580e083119f0b23ff75c1 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Sun, 15 Aug 2010 20:56:08 -0400 Subject: 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 --- src/log.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index 50fca577..4615f626 100644 --- a/src/log.h +++ b/src/log.h @@ -24,8 +24,6 @@ #include -class ChatWindow; - /** * The Log Class : Useful to write debug or info messages */ @@ -52,11 +50,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. */ @@ -75,7 +68,6 @@ class Logger private: std::ofstream mLogFile; bool mLogToStandardOut; - ChatWindow *mChatWindow; }; extern Logger *logger; -- cgit v1.2.3-70-g09d2