MCPcopy Create free account
hub / github.com/devspace-sh/devspace / NewStreamLoggerWithFormat

Function NewStreamLoggerWithFormat

pkg/util/log/stream_logger.go:85–94  ·  view source on GitHub ↗
(stdout, stderr io.Writer, level logrus.Level, format Format)

Source from the content-addressed store, hash-verified

83}
84
85func NewStreamLoggerWithFormat(stdout, stderr io.Writer, level logrus.Level, format Format) Logger {
86 return &StreamLogger{
87 m: &sync.Mutex{},
88 level: level,
89 isTerminal: false,
90 format: format,
91 stream: stdout,
92 errorStream: stderr,
93 }
94}
95
96type StreamLogger struct {
97 m *sync.Mutex

Callers 2

runPipelineFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected