Added hack support for logs streaming cruft

This commit is contained in:
Milos Gajdos
2019-11-30 12:39:29 +00:00
parent 7f1dea72f2
commit ecdadef633
5 changed files with 112 additions and 24 deletions

View File

@@ -43,6 +43,8 @@ func (d *Debug) Logs(opts ...log.ReadOption) (<-chan log.Record, error) {
req.Count = int64(options.Count)
}
req.Stream = options.Stream
// get the log stream
stream, err := d.dbg.Logs(context.Background(), req)
if err != nil {