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

◆ print()

void fl::print ( const char * str)

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

78 {
79 if (!str) return;
80 // Check global log level - if NONE, suppress all output
81 if (gLogLevel == static_cast<u8>(LogLevel::FL_LOG_LEVEL_NONE)) return;
82
83#ifdef FASTLED_TESTING
84 // Check for injected handler first
85 if (get_print_handler()) {
86 get_print_handler()(str);
87 return;
88 }
89#endif
90
91 // Delegate to platform implementation
92 platforms::print(str);
93}
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::test::SerialReporter::assertResult(), fl::AsyncLogger::flush(), fl::AsyncLogger::flushN(), fl::detail::log_emit_literal(), fl::detail::log_emit_newline(), fl::detail::log_emit_prefix(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::SerialPort::print(), fl::SerialPort::print(), fl::SerialPort::print(), fl::SerialPort::print(), printf(), printf(), fl::test::SerialReporter::subcaseStart(), fl::test::SerialReporter::testCaseEnd(), fl::test::SerialReporter::testCaseStart(), fl::test::SerialReporter::testRunEnd(), and fl::SerialPort::write().

+ Here is the caller graph for this function: