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

Method setLevel

lib/ArduinoLog/ArduinoLog.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void Logging::setLevel(uint8_t slot, int level)
65{
66 #ifndef DISABLE_LOGGING
67 _level[slot] = constrain(level, LOG_LEVEL_SILENT, LOG_LEVEL_OUTPUT);
68 #endif
69}
70
71int Logging::getLevel(uint8_t slot) const
72{

Callers 2

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected