Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *logrus.Logger
Log is an instance of the global logrus.Logger
Functions ¶
Types ¶
type CustomCloudwatch ¶
type CustomCloudwatch struct {
Hostname string
}
CustomCloudwatch adds hostname and app name
func NewCloudwatchFormatter ¶
func NewCloudwatchFormatter(cfg *config.Config) *CustomCloudwatch
NewCloudwatchFormatter creates a new logrus formatter for cloudwatch
Click to show internal directories.
Click to hide internal directories.