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

◆ serviceLoggers()

void fl::detail::AsyncLoggerServiceTask::serviceLoggers ( )

Service all registered loggers (called by task)

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

265 {
266 // Flush N messages from all registered loggers
267 detail::ActiveLoggerRegistry::instance().forEach([this](AsyncLogger& logger) {
268 logger.flushN(mMessagesPerTick);
269 });
270}
static ActiveLoggerRegistry & instance() FL_NO_EXCEPT
void forEach(Func func) FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, fl::AsyncLogger::flushN(), fl::detail::ActiveLoggerRegistry::forEach(), fl::detail::ActiveLoggerRegistry::instance(), and mMessagesPerTick.

Referenced by AsyncLoggerServiceTask(), and fl::SingletonShared< AsyncLoggerServiceTask >.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: