Skip to content

Commit

Permalink
use constant InfoLevel instead of 255
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Apr 16, 2016
1 parent 1d1fd2d commit 218981b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

func (logger *Logger) Writer() *io.PipeWriter {
return logger.WriterLevel(255)
return logger.WriterLevel(InfoLevel)
}

func (logger *Logger) WriterLevel(level Level) *io.PipeWriter {
Expand Down

0 comments on commit 218981b

Please sign in to comment.