chore(cmd/joj3): use background context
This commit is contained in:
parent
0f40da5efa
commit
d6da8c8fa7
|
@ -147,6 +147,11 @@ func setupSlog(conf *conf.Conf) error {
|
|||
if logPath != "" {
|
||||
slog.Info("debug log", "path", logPath)
|
||||
}
|
||||
slog.LogAttrs(context.TODO(), slog.LevelInfo, "setup slog attrs", attrs...)
|
||||
slog.LogAttrs(
|
||||
context.Background(),
|
||||
slog.LevelInfo,
|
||||
"setup slog attrs",
|
||||
attrs...,
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user