experimental_logger.go (191B)
1 //go:build viper_logger 2 // +build viper_logger 3 4 package viper 5 6 // WithLogger sets a custom logger. 7 func WithLogger(l Logger) Option { 8 return optionFunc(func(v *Viper) { 9 v.logger = l 10 }) 11 }
gtsocial-umbxUnnamed repository; edit this file 'description' to name the repository. | |
Log | Files | Refs | README | LICENSE |