Skip to content

Commit

Permalink
chore: use named logger
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Aug 31, 2024
1 parent 6668f55 commit 71869b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endure.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func New(level slog.Leveler, options ...Options) *Endure {
graph: graph.New(),
mu: sync.RWMutex{},
stopTimeout: time.Second * 30,
log: zlog,
log: zlog.Named("endure"),
}

// Main thread channels
Expand Down

0 comments on commit 71869b2

Please sign in to comment.