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

◆ print()

void fl::print ( const char * str)

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

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