MCPcopy Create free account
hub / github.com/HASwitchPlate/openHASP / registerOutput

Method registerOutput

lib/ArduinoLog/ArduinoLog.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void 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
56void Logging::unregisterOutput(uint8_t slot)
57{

Callers 4

telnetClientLogonFunction · 0.80
consoleStartFunction · 0.80
debugStartSyslogFunction · 0.80
debugStartSerialFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected