Przeglądaj źródła

Set empty log defines if logs are disabled

master
Robin Thoni 6 lat temu
rodzic
commit
4f1a9fc433
Podpisane przez: Robin THONI <robin@rthoni.com> ID klucza GPG: 4E09DEF46B99E61E
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3
    2
      Logs.h

+ 3
- 2
Logs.h Wyświetl plik

18
 
18
 
19
 #else
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
 #endif
25
 #endif

Ładowanie…
Anuluj
Zapisz