MCPcopy
hub / github.com/moonD4rk/HackBrowserData / baseLogger

Struct baseLogger

log/logger.go:116–119  ·  view source on GitHub ↗

baseLogger writes formatted log messages to an io.Writer. Output format: [DBG] file.go:42: message [INF] message [WRN] message [ERR] message [FTL] message

Source from the content-addressed store, hash-verified

114// [ERR] message
115// [FTL] message
116type baseLogger struct {
117 out io.Writer
118 mu sync.Mutex
119}
120
121func newBase(out io.Writer) *baseLogger {
122 return &baseLogger{out: out}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected