diff options
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/logger.h b/src/logger.h index 5a44c959a..4ddf28818 100644 --- a/src/logger.h +++ b/src/logger.h @@ -46,6 +46,9 @@ #define IGNOREDEBUGLOG {} #endif +#define UNIMPLIMENTEDPACKET \ + logger->unimplimented(msg.getId()) + /** * The Log Class : Useful to write debug or info messages */ @@ -140,6 +143,8 @@ class Logger final void safeError(const std::string &error_text) __attribute__ ((noreturn)); + void unimplimented(const int id); + private: std::ofstream mLogFile; std::vector<std::string> mDelayedLog; |