MCPcopy
hub / github.com/livebud/bud / New

Function New

package/log/console/console.go:55–57  ·  view source on GitHub ↗

New console handler

(w io.Writer)

Source from the content-addressed store, hash-verified

53
54// New console handler
55func New(w io.Writer) log.Handler {
56 return &console{w: w}
57}
58
59// console logger
60type console struct {

Callers 5

LoggerFunction · 0.92
TestConsoleFunction · 0.92
NewFunction · 0.92
loadLogMethod · 0.92
console.goFile · 0.70

Calls

no outgoing calls

Tested by 1

TestConsoleFunction · 0.74