1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

bees: introduce BEESLOGNOTE macro

Quite often we have the same message in BEESLOG and BEESNOTE, so
make a macro to combine them.
Dieser Commit ist enthalten in:
Zygo Blaxell
2016-12-02 00:03:56 -05:00
Ursprung ea0910ee6c
Commit d58de9b76d
+2
Datei anzeigen
@@ -136,6 +136,8 @@ const int FLAGS_OPEN_FANOTIFY = O_RDWR | O_NOATIME | O_CLOEXEC | O_LARGEFILE;
} \
} while (0)
#define BEESLOGNOTE(x) BEESLOG(x); BEESNOTE(x)
#define BEESCOUNT(stat) do { \
BeesStats::s_global.add_count(#stat); \
} while (0)