Browse Source

Set empty log defines if logs are disabled

master
Robin Thoni 4 years ago
parent
commit
4f1a9fc433
Signed by: Robin THONI <robin@rthoni.com> GPG Key ID: 4E09DEF46B99E61E
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Logs.h

+ 3
- 2
Logs.h View File

@@ -18,7 +18,8 @@
18 18
 
19 19
 #else
20 20
 
21
-#define LOG(x)
22
-#define LOG(x, ...)
21
+#define LOG(...)
22
+#define LOG_FN_BEGIN(level_)
23
+#define LOG_FN_END(level_)
23 24
 
24 25
 #endif

Loading…
Cancel
Save