[#1619] logger: Set tags for node
components
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
c939a2a88e
commit
0f89e7817c
19 changed files with 63 additions and 20 deletions
|
@ -231,7 +231,7 @@ func New(opts ...Option) *StorageEngine {
|
|||
// WithLogger returns option to set StorageEngine's logger.
|
||||
func WithLogger(l *logger.Logger) Option {
|
||||
return func(c *cfg) {
|
||||
c.log = l
|
||||
c.log = l.WithTag(logger.TagEngine)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue