MCPcopy Create free account
hub / github.com/One-com/gone / SetPrintLevel

Function SetPrintLevel

log/root.go:153–155  ·  view source on GitHub ↗

SetPrintLevel sets the log level used by Print*() calls. If the second argument is true, Println(), Printf(), Print() will respect the Logger log level. If the second argument is false, log event will be generated regardless of Logger log level. Handlers and Writers may still filter the event out.

(level syslog.Priority, respect bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

SetPrintLevelMethod · 0.80

Tested by

no test coverage detected