MCPcopy Create free account
hub / github.com/foxcpp/maddy / Sublogger

Method Sublogger

framework/log/log.go:254–262  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

252}
253
254func (l *Logger) Sublogger(name string) *Logger {
255 if l.Name != "" && name != "" {
256 name = l.Name + "/" + name
257 }
258 return &Logger{
259 Parent: l,
260 Name: name,
261 }
262}
263
264// DefaultLogger is the global Logger object that is used by
265// package-level logging functions.

Callers 15

DebugWriterMethod · 0.95
NewFunction · 0.80
listen.goFile · 0.80
NewListenerTrackerFunction · 0.80
NewPQFunction · 0.80
NewFunction · 0.80
NewFunction · 0.80
NewFunction · 0.80
NewFunction · 0.80
NewFunction · 0.80
NewFunction · 0.80
NewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected