1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-05-12 06:47:12 +00:00

15 lines
236 B
Go

package logger
import (
cfg "github.com/tendermint/tendermint/config"
)
var config cfg.Config = nil
func init() {
cfg.OnConfig(func(newConfig cfg.Config) {
config = newConfig
Reset() // reset log root upon config change.
})
}