1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-05-16 08:31:19 +00:00

15 lines
236 B
Go
Raw Normal View History

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.
})
}