|
REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
7// TODO: Move "utils/logging.h" somewhere more appropriate, given the new dependency from the protocol
42// But probably not, because checking for the defined'ness of a macro inside another macro is not possible.
43// -> Reply: Just use if(LOG_FLAG), since LOG_FLAG is known at compile time, if(false) can be optimized away.
137// Log something which calls like foo(JsonObject& x) without hazzle, within LOG_START ... LOG_END.
138// #define LOG_JSON(functioncall) { StaticJsonDocument<200> tmp; functioncall(tmp.to<JsonObject>());
143template <typename T, size_t size> std::ostream &operator<<(std::ostream &os, const std::array<T, size> &arr) {
std::ostream & operator<<(std::ostream &os, const std::array< T, size > &arr)
Definition logging.h:143