default log level = info

This commit is contained in:
Roy Crihfield 2023-09-22 15:39:27 +08:00
parent e6d312f98b
commit afd4c05d4a

View File

@ -17,6 +17,7 @@ func init() {
// The plugeth logger is only initialized with the geth runtime,
// but tests expect to have a logger available, so default to this.
DefaultLogger = TestLogger
TestLogger.SetLevel(int(log15.LvlInfo))
}
func Trace(m string, a ...interface{}) { DefaultLogger.Trace(m, a...) }