Add .Send() call to logs without .Msg() call

This commit is contained in:
M. Mert Yildiran
2022-11-29 03:55:50 +03:00
parent 36594d70ea
commit 4892c9dbdc
9 changed files with 13 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ func init() {
defaultConfig := config.CreateDefaultConfig()
if err := defaults.Set(&defaultConfig); err != nil {
log.Debug().Err(err)
log.Debug().Err(err).Send()
}
configCmd.Flags().BoolP(configStructs.RegenerateConfigName, "r", defaultConfig.Config.Regenerate, fmt.Sprintf("Regenerate the config file with default values to path %s or to chosen path using --%s", defaultConfig.ConfigFilePath, config.ConfigFilePathCommandName))