Documentation ¶
Index ¶
- func BuildLoggerWithConfigAndFields(config config.LogConfig, fields log.Fields) *log.Entry
- func BuildRootLog(component string) *log.Entry
- func BuildRootLogWithConfig(component string, config *config.Config) *log.Entry
- func BuildRootLogWithLevelFatal() *log.Entry
- func BuildRootLogWithName(component, checkName string) *log.Entry
- func BuildRootLogWithNameAndConfig(component string, config *config.Config, checkName string) *log.Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildLoggerWithConfigAndFields ¶
BuildLoggerWithConfigAndFields Self explanatory
func BuildRootLog ¶
BuildRootLog builds a top level logger.
func BuildRootLogWithConfig ¶
BuildRootLogWithConfig builds a new log setted up according to a given config. This method is usefull for testing
func BuildRootLogWithName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.