mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
0512357c17
Move all shared code to config.go which has no build tags.
23 lines
468 B
Go
23 lines
468 B
Go
//go:build !dev
|
|
// +build !dev
|
|
|
|
package build
|
|
|
|
// consoleLoggerCfg embeds the LoggerConfig struct along with any extensions
|
|
// specific to a production deployment.
|
|
//
|
|
//nolint:lll
|
|
type consoleLoggerCfg struct {
|
|
LoggerConfig
|
|
}
|
|
|
|
// defaultConsoleLoggerCfg returns the default consoleLoggerCfg for the prod
|
|
// console logger.
|
|
func defaultConsoleLoggerCfg() *consoleLoggerCfg {
|
|
return &consoleLoggerCfg{
|
|
LoggerConfig: LoggerConfig{
|
|
CallSite: callSiteOff,
|
|
},
|
|
}
|
|
}
|