diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 17:58:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 17:58:46 +0300 |
commit | 4ed8030f36a873fdf881f37c6dccbf28029ce22a (patch) | |
tree | 935e9b16380da7c781e642e7efb5682128a67887 /src/logger.h | |
parent | 7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (diff) | |
download | mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.gz mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.bz2 mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.xz mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.zip |
Add option in settings to enable/disable logging unimplimented packets.
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |