FastLED 3.10.8
Loading...
Searching...
No Matches

◆ printLoggerDisabledError()

void fl::detail::printLoggerDisabledError ( const char * category_name,
const char * define_name )

Print error message for disabled logger (non-template helper) Called from checkLoggerEnabled template function IMPORTANT: This must NOT be inline - needs external linkage for cross-TU calls.

Definition at line 20 of file async_logger.cpp.hpp.

20 {
21 FL_UNUSED(category_name); // only consumed by FL_ERROR, a no-op on small platforms
22 FL_UNUSED(define_name);
23 FL_ERROR(category_name << " ASYNC LOGGING NOT ENABLED. Add '#define " << define_name << "' before including FastLED.h");
24 }
#define FL_UNUSED(x)
#define FL_ERROR(...)
Definition log.h:373

References FL_ERROR, fl::FL_NO_EXCEPT, and FL_UNUSED.

Referenced by checkLoggerEnabled().

+ Here is the caller graph for this function: