| 92 | } |
| 93 | |
| 94 | void println(const char* str) { |
| 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 | } |
| 110 | |
| 111 | int available() { |
| 112 | #ifdef FASTLED_TESTING |
no outgoing calls
no test coverage detected