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

◆ println()

void fl::println ( const char * str)

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

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

References FL_LOG_LEVEL_NONE, FL_NO_EXCEPT, and gLogLevel.

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

+ Here is the caller graph for this function: