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