Compare commits
1 Commits
v0.5.2
...
2628202ff1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2628202ff1 |
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
var global = With(New(),
|
||||
WithSource(2),
|
||||
WithSource(1),
|
||||
WithLevel(KeyLevel, level.Debug),
|
||||
WithExit(level.Alert),
|
||||
WithPanic(level.Emergency),
|
||||
|
||||
@@ -62,7 +62,7 @@ type option struct {
|
||||
func New(opts ...func(*option)) Logger {
|
||||
log := option{
|
||||
format: formatText(),
|
||||
out: os.Stderr,
|
||||
out: os.Stdout,
|
||||
}
|
||||
|
||||
for _, opt := range opts {
|
||||
|
||||
Reference in New Issue
Block a user