MCPcopy Create free account
hub / github.com/aptly-dev/aptly / LogWriter

Struct LogWriter

utils/logging.go:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20type LogWriter struct {
21 Logger zerolog.Logger
22}
23
24func (lw LogWriter) Write(bs []byte) (int, error) {
25 return lw.Logger.With().Str("level", "info").Logger().Write(bs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected