use constant InfoLevel instead of 255

This commit is contained in:
Antoine Grondin 2016-04-16 12:46:11 +05:30
parent 1d1fd2d9ce
commit 218981bef4
1 changed files with 1 additions and 1 deletions

View File

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