LogReader is the interface for reading log messages for loggers that support reading.
| 90 | |
| 91 | // LogReader is the interface for reading log messages for loggers that support reading. |
| 92 | type 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. |
| 98 | type LogWatcher struct { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…