FastLED 3.9.15
Loading...
Searching...
No Matches

◆ FL_LOG_ASYNC

#define FL_LOG_ASYNC ( logger,
X )
Value:
do { \
(logger).push((fl::sstream() << X).str()); \
} while(0)

Generic async logging macro (captures stream expression into string)

Parameters
loggerReference to AsyncLogger instance (e.g., get_parlio_async_logger())
XStream-style expression (e.g., "msg " << var)
Warning
This macro uses heap allocation (fl::string) and should NOT be used in ISR context
See also
FL_LOG_ASYNC_ISR for ISR-safe const char* only variant

Definition at line 589 of file log.h.

589#define FL_LOG_ASYNC(logger, X) \
590 do { \
591 (logger).push((fl::sstream() << X).str()); \
592 } while(0)