Simplified Logs RPC. Cleaned up code. Added comments.
This commit is contained in:
@@ -26,6 +26,7 @@ func NewDebug(name string) *Debug {
|
||||
}
|
||||
}
|
||||
|
||||
// Logs queries the service logs and returns a channel to read the logs from
|
||||
func (d *Debug) Logs(opts ...log.ReadOption) (<-chan log.Record, error) {
|
||||
options := log.ReadOptions{}
|
||||
// initialize the read options
|
||||
|
Reference in New Issue
Block a user