MCPcopy Create free account
hub / github.com/containerd/nerdctl / Process

Method Process

pkg/logging/json_logger.go:127–129  ·  view source on GitHub ↗
(stdout <-chan string, stderr <-chan string)

Source from the content-addressed store, hash-verified

125}
126
127func (jsonLogger *JSONLogger) Process(stdout <-chan string, stderr <-chan string) error {
128 return jsonfile.Encode(stdout, stderr, jsonLogger.logger)
129}
130
131// WriteLogEntry writes a single log line synchronously, implementing SyncDriver.
132// Writing inline (rather than over a channel consumed by Process) ensures a

Callers

nothing calls this directly

Calls 1

EncodeFunction · 0.92

Tested by

no test coverage detected