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

@@ -22,6 +22,8 @@ type Log interface {
Read(...ReadOption) []Record
// Write writes logs to logger
Write(...interface{})
// Stream logs
Stream(chan bool) <-chan Record
}
// Record is log record entry