MCPcopy Create free account
hub / github.com/coder/envbuilder / newWriteLogger

Function newWriteLogger

envbuilder.go:1850–1852  ·  view source on GitHub ↗
(logf log.Func, level log.Level)

Source from the content-addressed store, hash-verified

1848}
1849
1850func newWriteLogger(logf log.Func, level log.Level) io.Writer {
1851 return writeLogger{logf: logf, level: level}
1852}
1853
1854func (l writeLogger) Write(p []byte) (n int, err error) {
1855 lines := bytes.Split(p, []byte("\n"))

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected