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

Method SetPrintLevel

log/gonelog.go:265–278  ·  view source on GitHub ↗

SetPrintLevel sets the level which Print*() methods are logging with. "respect" indicated whether Print*() statements will respect the Logger loglevel or generate events anyway. (with the default log level). Without "respect" the logger can generate events above its loglevel. Such events can however

(level syslog.Priority, respect bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ExampleNewLoggerFunction · 0.95
ExampleSetPrintLevelFunction · 0.80
SetPrintLevelFunction · 0.80
TestJSONFunction · 0.80

Calls

no outgoing calls

Tested by 3

ExampleNewLoggerFunction · 0.76
ExampleSetPrintLevelFunction · 0.64
TestJSONFunction · 0.64