1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00

Logs to Log

This commit is contained in:
Asim Aslam
2019-12-04 23:58:29 +00:00
parent 78647c7027
commit fe46e7a9e9
5 changed files with 48 additions and 48 deletions

View File

@ -47,7 +47,7 @@ func (d *Debug) Stats(ctx context.Context, req *proto.StatsRequest, rsp *proto.S
return nil
}
func (d *Debug) Logs(ctx context.Context, stream server.Stream) error {
func (d *Debug) Log(ctx context.Context, stream server.Stream) error {
req := new(proto.LogRequest)
if err := stream.Recv(req); err != nil {
return err