From 40c09eed1cf786518c4a07652d45a09de7f21bd9 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 5 Dec 2019 00:01:17 +0000 Subject: [PATCH] Logs to Log --- debug/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/service/service.go b/debug/service/service.go index 8728b556..d48b0a3d 100644 --- a/debug/service/service.go +++ b/debug/service/service.go @@ -27,7 +27,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) { +func (d *Debug) Log(opts ...log.ReadOption) (<-chan log.Record, error) { options := log.ReadOptions{} // initialize the read options for _, o := range opts {