Skip to content

Commit

Permalink
Merge pull request #495 from gua-pian/master
Browse files Browse the repository at this point in the history
Delete an unused global variable logOutput
  • Loading branch information
magiconair committed Jun 10, 2018
2 parents 2b07882 + 4e76004 commit 8489b4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ var version = "1.5.9"

var shuttingDown int32

var logOutput logger.LevelWriter

func main() {
logOutput := logger.NewLevelWriter(os.Stderr, "INFO", "2017/01/01 00:00:00 ")
log.SetOutput(logOutput)
Expand Down

0 comments on commit 8489b4e

Please sign in to comment.