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

◆ println()

void fl::println ( const char * str)

Definition at line 94 of file cstdio.cpp.hpp.

94 {
95 if (!str) return;
96 // Check global log level - if NONE, suppress all output
97 if (gLogLevel == static_cast<u8>(LogLevel::FL_LOG_LEVEL_NONE)) return;
98
99#ifdef FASTLED_TESTING
100 // Check for injected handler first
101 if (get_println_handler()) {
102 get_println_handler()(str);
103 return;
104 }
105#endif
106
107 // Delegate to platform implementation
108 platforms::println(str);
109}
static u8 gLogLevel
unsigned char u8
Definition stdint.h:131
@ FL_LOG_LEVEL_NONE
No logging (completely silent)
Definition cstdio.h:24

References FL_LOG_LEVEL_NONE, and gLogLevel.

Referenced by fl::AsyncLogger::flush(), fl::AsyncLogger::flushN(), fl::detail::log_emit(), printJsonRaw(), fl::SerialPort::println(), fl::SerialPort::println(), fl::SerialWriter::println(), and printStreamRaw().

+ Here is the caller graph for this function: