MCPcopy
hub / github.com/gourouting/singo / Log

Function Log

util/logger.go:98–106  ·  view source on GitHub ↗

Log returns the logger.

()

Source from the content-addressed store, hash-verified

96
97// Log returns the logger.
98func Log() *Logger {
99 if logger == nil {
100 l := Logger{
101 level: LevelDebug,
102 }
103 logger = &l
104 }
105 return logger
106}

Callers 3

RedisFunction · 0.92
DatabaseFunction · 0.92
confInitFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected