cosmetic change

master
Charles Iliya Krempeaux 2019-07-11 20:13:04 -07:00
parent 1b31a83f95
commit ac46db3f16
1 changed files with 0 additions and 6 deletions

View File

@ -1,6 +1,5 @@
package flog package flog
import ( import (
"fmt" "fmt"
"io" "io"
@ -8,7 +7,6 @@ import (
"time" "time"
) )
// PrettyWritingRouter returns an initialized PrettyWritingRouter // PrettyWritingRouter returns an initialized PrettyWritingRouter
func NewPrettyWritingRouter(writer io.Writer) *PrettyWritingRouter { func NewPrettyWritingRouter(writer io.Writer) *PrettyWritingRouter {
router := PrettyWritingRouter{ router := PrettyWritingRouter{
@ -18,8 +16,6 @@ func NewPrettyWritingRouter(writer io.Writer) *PrettyWritingRouter {
return &router return &router
} }
// PrettyWritingRouter is a router that writes a pretty version of // PrettyWritingRouter is a router that writes a pretty version of
// the log it was give (including COLORS!) to the writer it was // the log it was give (including COLORS!) to the writer it was
// given when it was created. // given when it was created.
@ -31,8 +27,6 @@ type PrettyWritingRouter struct {
writer io.Writer writer io.Writer
} }
func (router *PrettyWritingRouter) Route(message string, context map[string]interface{}) error { func (router *PrettyWritingRouter) Route(message string, context map[string]interface{}) error {
if nil == router { if nil == router {
return errNilReceiver return errNilReceiver