| 44 | } |
| 45 | |
| 46 | void Logging::registerOutput(uint8_t slot, Print * logOutput, int level, bool showLevel) |
| 47 | { |
| 48 | #ifndef DISABLE_LOGGING |
| 49 | if(slot >= 3) return; |
| 50 | setLevel(slot, level); |
| 51 | setShowLevel(slot, showLevel); |
| 52 | _logOutput[slot] = logOutput; |
| 53 | #endif |
| 54 | } |
| 55 | |
| 56 | void Logging::unregisterOutput(uint8_t slot) |
| 57 | { |
no outgoing calls
no test coverage detected