5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-09-20 14:52:30 +00:00
matterbridge/vendor/github.com/spf13/viper/experimental_logger.go
2022-04-25 23:50:10 +02:00

12 lines
191 B
Go

//go:build viper_logger
// +build viper_logger
package viper
// WithLogger sets a custom logger.
func WithLogger(l Logger) Option {
return optionFunc(func(v *Viper) {
v.logger = l
})
}