|
FastLED 3.10.8
|
Auto-instantiating task for async logger servicing Registers itself with fl::task::Scheduler when first accessed Only instantiated if at least one async logger is used (linker removes if unused)
Definition at line 207 of file async_logger.h.
#include <async_logger.h>
Collaboration diagram for fl::detail::AsyncLoggerServiceTask:Public Member Functions | |
| u32 | getInterval () const FL_NO_EXCEPT |
| Get current service interval. | |
| fl::size | getMessagesPerTick () const FL_NO_EXCEPT |
| Get messages per tick. | |
| void | serviceLoggers () FL_NO_EXCEPT |
| Service all registered loggers (called by task) | |
| void | setInterval (u32 interval_ms) FL_NO_EXCEPT |
| Change the service interval (default 16ms) | |
| void | setMessagesPerTick (fl::size messages_per_tick) FL_NO_EXCEPT |
| Configure number of messages to flush per service call. | |
Static Public Member Functions | |
| static AsyncLoggerServiceTask & | instance () FL_NO_EXCEPT |
Private Member Functions | |
| AsyncLoggerServiceTask () FL_NO_EXCEPT | |
| ~AsyncLoggerServiceTask () FL_NO_EXCEPT=default | |
Private Attributes | |
| u32 | mIntervalMs |
| fl::size | mMessagesPerTick |
| fl::task::Handle | mTask |
Friends | |
| class | fl::SingletonShared< AsyncLoggerServiceTask > |