MCPcopy
hub / github.com/safing/portmaster / loadLogLevel

Function loadLogLevel

base/config/basic_config.go:98–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98func loadLogLevel() error {
99 return setDefaultConfigOption(CfgLogLevel, log.GetLogLevel().Name(), false)
100}
101
102func setLogLevel(_ *mgr.WorkerCtx, _ struct{}) (cancel bool, err error) {
103 log.SetLogLevel(log.ParseLevel(logLevel()))

Callers 1

startFunction · 0.85

Calls 3

GetLogLevelFunction · 0.92
setDefaultConfigOptionFunction · 0.85
NameMethod · 0.65

Tested by

no test coverage detected