Maintenance: new logging, shorter with less deps
This commit is contained in:
@@ -37,7 +37,7 @@ type routing struct {
|
||||
// NewRouting creates a new routing instance.
|
||||
func NewRouting(logger logging.Logger) Routing {
|
||||
return &routing{
|
||||
logger: logger.WithPrefix("routing: "),
|
||||
logger: logger.NewChild(logging.SetPrefix("routing: ")),
|
||||
verbose: true,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user