From 4ed8030f36a873fdf881f37c6dccbf28029ce22a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 17:58:46 +0300 Subject: Add option in settings to enable/disable logging unimplimented packets. --- src/logger.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/logger.h') diff --git a/src/logger.h b/src/logger.h index 4ddf28818..9e82670ad 100644 --- a/src/logger.h +++ b/src/logger.h @@ -130,6 +130,9 @@ class Logger final void setDebugLog(const bool n) { mDebugLog = n; } + void setReportUnimplimented(const bool n) + { mReportUnimplimented = n; } + /** * Log an error and quit. The error will pop-up on Windows and Mac, and * will be printed to standard error everywhere else. @@ -152,6 +155,7 @@ class Logger final volatile bool mThreadLocked; bool mLogToStandardOut; bool mDebugLog; + bool mReportUnimplimented; }; extern Logger *logger; -- cgit v1.2.3-70-g09d2