Add structured logger (#54) (#1467)

This is two changes:

Replacing all usages of SimpleLogger with it's interface SimpleLogging which makes it easier to swap out loggers going forward
Nukes SimpleLogger in favor of StructuredLogger which allows us to better analyze logs in our log management system we choose.
This commit is contained in:
Nish Krishnan
2021-04-06 12:02:25 -07:00
committed by GitHub
parent 13fba40827
commit 7ac8106f8a
83 changed files with 931 additions and 642 deletions

View File

@@ -13,7 +13,7 @@ import (
// GithubAppController handles the creation and setup of a new GitHub app
type GithubAppController struct {
AtlantisURL *url.URL
Logger *logging.SimpleLogger
Logger logging.SimpleLogging
GithubSetupComplete bool
GithubHostname string
GithubOrg string