MCPcopy Create free account
hub / github.com/FastLED/FastLED / print

Function print

src/fl/stl/cstdio.cpp.hpp:77–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75#endif
76
77void print(const char* str) {
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}
93
94void println(const char* str) {
95 if (!str) return;

Callers 15

ostreamClass · 0.70
operator<<Method · 0.70
printfFunction · 0.70
ostream.cpp.hppFile · 0.70
_check_crash_dumpsFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mcp_server.pyFile · 0.50
mainFunction · 0.50
check_relative_includesFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by 15

_check_crash_dumpsFunction · 0.40
mainFunction · 0.40
testRunStartMethod · 0.40
testRunEndMethod · 0.40
testCaseStartMethod · 0.40
testCaseEndMethod · 0.40
subcaseStartMethod · 0.40
assertResultMethod · 0.40
discover_testsFunction · 0.40
run_testFunction · 0.40
mainFunction · 0.40