From 1b31a83f95562ce0988d8b458d5fb5c9a179ff16 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Thu, 11 Jul 2019 20:11:43 -0700 Subject: [PATCH] cosmetic change --- default_writing_router.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/default_writing_router.go b/default_writing_router.go index a0bdfd8..46d9125 100644 --- a/default_writing_router.go +++ b/default_writing_router.go @@ -1,6 +1,5 @@ package flog - import ( "github.com/reiver/go-dotquote" "github.com/reiver/go-oi" @@ -10,7 +9,6 @@ import ( "time" ) - // NewDefaultWritingRouter returns an initialized DefaultWritingRouter func NewDefaultWritingRouter(writer io.Writer) *DefaultWritingRouter { return NewDefaultWritingRouterWithPrefix(writer, nil) @@ -32,7 +30,6 @@ func NewDefaultWritingRouterWithPrefix(writer io.Writer, prefix map[string]inter return &router } - // DefaultWritingRouter is a router that writes the log in a default format. // // A DefaultWritingRouter is appropriate for a production (i.e., "PROD") @@ -42,8 +39,6 @@ type DefaultWritingRouter struct { prefix []byte } - - func (router *DefaultWritingRouter) Route(message string, context map[string]interface{}) error { if nil == router { return errNilReceiver