Added logger and version (printed during Start()).
This commit is contained in:
parent
ad4c747aea
commit
6c7cf689aa
2 changed files with 5 additions and 0 deletions
|
|
@ -204,6 +204,8 @@ func (a *App) scripture() {
|
|||
}
|
||||
|
||||
func (a *App) Start(ctx context.Context, cmd *cli.Command) error {
|
||||
logger := logging.Logger()
|
||||
logger.Infof("Starting version %s", cmd.Root().Version)
|
||||
if err := a.loadEnv(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue