MCPcopy Create free account
hub / github.com/Code-Hex/golet / SetLogger

Method SetLogger

golet.go:103–103  ·  view source on GitHub ↗

SetLogger can specify the io.Writer for example in https://github.com/lestrrat/go-file-rotatelogs * logf, _ := rotatelogs.New( "/path/to/access_log.%Y%m%d%H%M", rotatelogs.WithLinkName("/path/to/access_log"), rotatelogs.WithMaxAge(24 * time.Hour), rotatelogs.WithRot

(f io.Writer)

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