mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
fixed log timestamps
This commit is contained in:
parent
094ec9b53c
commit
e9753060c5
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@
|
|||
|
||||
#define FUNC_CHOOSER(_f1, _f2, _f3, ...) _f3
|
||||
#define FUNC_RECOMPOSER(argsWithParentheses) FUNC_CHOOSER argsWithParentheses
|
||||
#define CHOOSE_FROM_ARG_COUNT(...) FUNC_RECOMPOSER((__VA_ARGS__, LOG_2, LOG_1, ))
|
||||
#define CHOOSE_FROM_ARG_COUNT(...) FUNC_RECOMPOSER((__VA_ARGS__, LOG_2, LOG_1, FUNC_, ...))
|
||||
#define MACRO_CHOOSER(...) CHOOSE_FROM_ARG_COUNT(__VA_ARGS__())
|
||||
#define LOG(...) MACRO_CHOOSER(__VA_ARGS__)(__VA_ARGS__)
|
||||
#define LOG(...) MACRO_CHOOSER(__VA_ARGS__)(__VA_ARGS__) << TIMESTAMP << FUNC
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue