MCPcopy Create free account
hub / github.com/charmbracelet/log / stdLogWriter

Struct stdLogWriter

stdlog.go:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type stdLogWriter struct {
9 l *Logger
10 opt *StandardLogOptions
11}
12
13func (l *stdLogWriter) Write(p []byte) (n int, err error) {
14 str := strings.TrimSuffix(string(p), "\n")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected