mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
build: add yaml tags to embedded LogConfig structs
For any embedded struct, the `yaml:",inline"` tag is required.
This commit is contained in:
@@ -8,14 +8,14 @@ package build
|
||||
//
|
||||
//nolint:ll
|
||||
type consoleLoggerCfg struct {
|
||||
LoggerConfig
|
||||
*LoggerConfig `yaml:",inline"`
|
||||
}
|
||||
|
||||
// defaultConsoleLoggerCfg returns the default consoleLoggerCfg for the prod
|
||||
// console logger.
|
||||
func defaultConsoleLoggerCfg() *consoleLoggerCfg {
|
||||
return &consoleLoggerCfg{
|
||||
LoggerConfig: LoggerConfig{
|
||||
LoggerConfig: &LoggerConfig{
|
||||
CallSite: callSiteOff,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user