hello: Move from f2
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package node
|
||||
|
||||
import (
|
||||
logging "github.com/ipfs/go-log"
|
||||
|
||||
"go.uber.org/fx"
|
||||
)
|
||||
|
||||
type debugPrinter struct {
|
||||
l logging.StandardLogger
|
||||
}
|
||||
|
||||
func (p *debugPrinter) Printf(f string, a ...interface{}) {
|
||||
p.l.Debugf(f, a...)
|
||||
}
|
||||
|
||||
var _ fx.Printer = new(debugPrinter)
|
||||
Reference in New Issue
Block a user