# Functions
LoggerOrNull ensures non-nil logger is passed in or creates a Null Logger.
NewLogger returns a new logger that includes app and deploy key/value pairs in each log line.
NewNullLogger returns a logger that discards the output useful for testing.
NewSampleLogger creates a rate limited logger that samples logs.
ReportPanic attempts to report the panic to rollbar via the logrus.
SaramaLogger takes FieldLogger and returns a saramaLogger.