mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 14:45:23 +01:00
ab7aae0708
Find and replace all nolint instances refering to the `lll` linter and replace with `ll` which is the name of our custom version of the `lll` linter which can be used to ignore log lines during linting. The next commit will do the configuration of the custom linter and disable the default one.
23 lines
467 B
Go
23 lines
467 B
Go
//go:build !dev
|
|
// +build !dev
|
|
|
|
package build
|
|
|
|
// consoleLoggerCfg embeds the LoggerConfig struct along with any extensions
|
|
// specific to a production deployment.
|
|
//
|
|
//nolint:ll
|
|
type consoleLoggerCfg struct {
|
|
LoggerConfig
|
|
}
|
|
|
|
// defaultConsoleLoggerCfg returns the default consoleLoggerCfg for the prod
|
|
// console logger.
|
|
func defaultConsoleLoggerCfg() *consoleLoggerCfg {
|
|
return &consoleLoggerCfg{
|
|
LoggerConfig: LoggerConfig{
|
|
CallSite: callSiteOff,
|
|
},
|
|
}
|
|
}
|