refactor: unified naming for module startup functions.

This commit is contained in:
Gordon 2024-03-19 14:10:51 +08:00
parent 34df324789
commit 0467408a3b

View File

@ -119,7 +119,7 @@ func (rc *RootCmd) initializeLogger(cmdOpts *CmdOpts) error {
if err != nil {
return errs.Wrap(err)
}
return errs.Wrap(log.InitConsoleLogger(rc.Name, logConfig.RemainLogLevel, logConfig.IsJson))
return errs.Wrap(log.InitConsoleLogger(rc.processName, logConfig.RemainLogLevel, logConfig.IsJson))
}