MCPcopy
hub / github.com/moby/moby / LogReader

Interface LogReader

daemon/logger/logger.go:92–95  ·  view source on GitHub ↗

LogReader is the interface for reading log messages for loggers that support reading.

Source from the content-addressed store, hash-verified

90
91// LogReader is the interface for reading log messages for loggers that support reading.
92type LogReader interface {
93 // ReadLogs reads logs from underlying logging backend.
94 ReadLogs(context.Context, ReadConfig) *LogWatcher
95}
96
97// LogWatcher is used when consuming logs read from the LogReader interface.
98type LogWatcher struct {

Callers

nothing calls this directly

Implementers 9

logPluginProxydaemon/logger/proxy.go
ringWithReaderdaemon/logger/ring.go
mockLoggingPlugindaemon/logger/adapter_test.go
pluginAdapterWithReaddaemon/logger/adapter.go
LogFiledaemon/logger/loggerutils/logfile.go
loggerWithCachedaemon/logger/loggerutils/cache/local_
driverdaemon/logger/local/local.go
JSONFileLoggerdaemon/logger/jsonfilelog/jsonfilelog.
journalddaemon/logger/journald/journald.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…