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

Function NewStdlibAdapter

log/stdgw.go:66–78  ·  view source on GitHub ↗

NewStdlibAdapter returns a new StdlibAdapter wrapper around the passed logger. It's designed to be passed to the standard library's log.SetOutput()

(logger *Logger, level syslog.Priority, options ...StdlibAdapterOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected