MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / String

Method String

pkg/memlogd/cmd/logread/main.go:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (msg *LogEntry) String() string {
29 return fmt.Sprintf("%s;%s;%s", msg.Time.Format(time.RFC3339Nano), strings.ReplaceAll(msg.Source, `;`, `\;`), msg.Msg)
30}
31
32func main() {
33 var err error

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.45

Tested by

no test coverage detected