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