MCPcopy Index your code
hub / github.com/coder/envbox / JSONLogger

Struct JSONLogger

buildlog/json.go:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21type JSONLogger struct {
22 Encoder *json.Encoder
23}
24
25func (j JSONLogger) Write(p []byte) (int, error) {
26 j.Info(string(p))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected