cosmetic change

master
Charles Iliya Krempeaux 2019-07-11 20:11:43 -07:00
parent 40005f83f6
commit 1b31a83f95
1 changed files with 0 additions and 5 deletions

View File

@ -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