Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *logrus.Logger
Log is an instance of the global logrus.Logger
Functions ¶
func InitLogger ¶
func InitLogger(cfg *appconf.SuperKeyWorkerConfig) *logrus.Logger
InitLogger initializes the Sources SuperKey logger
Types ¶
type CustomLoggerFormatter ¶
NewCustomLoggerFormatter adds hostname and app name
func NewCustomLoggerFormatter ¶
func NewCustomLoggerFormatter() *CustomLoggerFormatter
NewCustomLoggerFormatter creates a new log formatter
Click to show internal directories.
Click to hide internal directories.