logger: fix panic and import cycle

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2026-02-03 10:09:53 +03:00
parent b55375fd89
commit 1511423ff2
2 changed files with 3 additions and 4 deletions

View File

@@ -8,7 +8,6 @@ import (
"slices"
"time"
"go.unistack.org/micro/v4/logger"
"go.unistack.org/micro/v4/meter"
)
@@ -86,7 +85,7 @@ func NewOptions(opts ...Option) Options {
return options
}
func WithCallerEnabled(b bool) logger.Option {
func WithCallerEnabled(b bool) Option {
return func(o *Options) {
o.AddCaller = b
}