Skip to content

Commit

Permalink
refactor: logs engine type at trace level.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Mar 23, 2022
1 parent a256af7 commit 80ded2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func GetLibrary(engineType EngineType) EngineLibrary {
if library == nil {
logrus.Fatalf("unregistered engine type: %v", engineType)
}
logrus.Tracef("using %s library", engineType)
return library()
}

Expand All @@ -75,6 +76,7 @@ func BuildEngine(engineType EngineType, configDir string, startOptions StartOpti
if eng == nil {
logrus.Fatalf("unregistered engine type: %v", engineType)
}
logrus.Tracef("using %s engine", engineType)
return eng(configDir, startOptions)
}

Expand Down

0 comments on commit 80ded2f

Please sign in to comment.