1 Commits

Author SHA1 Message Date
andrey
2628202ff1 add source with func name
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-01-02 20:20:02 +03:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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),

View File

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