1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger/jsonfilelog
Brian Goff 94a10150f6 Decouple logfile from tailfile.
This makes it so consumers of `LogFile` should pass in how to get an
io.Reader to the requested number of lines to tail.

This is also much more efficient when tailing a large number of lines.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-08-10 21:02:19 -07:00
..
jsonlog Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
jsonfilelog.go Decouple logfile from tailfile. 2018-08-10 21:02:19 -07:00
jsonfilelog_test.go Decouple logfile from tailfile. 2018-08-10 21:02:19 -07:00
read.go Decouple logfile from tailfile. 2018-08-10 21:02:19 -07:00
read_test.go Decouple logfile from tailfile. 2018-08-10 21:02:19 -07:00