summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/logger.h b/src/logger.h
index 98cf2186a..19cf69ddb 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -56,6 +56,9 @@
#define UNIMPLIMENTEDPACKETFIELD(field) \
logger->unimplimented(msg.getId(), field)
+#define WRONGPACKETSIZE \
+ logger->unimplimented(CAST_U32(mId), mLength, mPos)
+
/**
* The Log Class : Useful to write debug or info messages
*/
@@ -180,6 +183,10 @@ class Logger final
void unimplimented(const int id,
const int id2);
+ void unimplimented(const uint32_t id,
+ const uint32_t id2,
+ const uint32_t id3);
+
private:
std::ofstream mLogFile;
std::vector<std::string> mDelayedLog;