enable terminal color

pull/8/head
Richard Liu 7 years ago
parent 2467a7c600
commit 08982d40ed
  1. 2
      log/root.go

@ -7,7 +7,7 @@ import (
var (
root = &logger{[]interface{}{}, new(swapHandler)}
// StdoutHandler handles stdout
StdoutHandler = StreamHandler(os.Stdout, LogfmtFormat())
StdoutHandler = StreamHandler(os.Stdout, TerminalFormat(true))
// StderrHandler handles stderr
StderrHandler = StreamHandler(os.Stderr, LogfmtFormat())
)

Loading…
Cancel
Save