MCPcopy
hub / github.com/moby/moby / driver

Struct driver

daemon/logger/local/local.go:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62type driver struct {
63 logfile *loggerutils.LogFile
64
65 // extra contains prebuilt log attributes attached to every log entry.
66 // The slice and its elements must be treated as immutable after initialization,
67 // as they may be shared by multiple marshaled log entries.
68 extra []*logdriver.LogAttr
69}
70
71// New creates a new local logger
72// You must provide the `LogPath` in the passed-in info argument, this is the file path that logs are written to.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected