Documentation ¶
Index ¶
- func CreateCorrelationID() string
- func GetFunctionName(i interface{}) string
- func GetLogFormatter() log.Formatter
- func GetLogLevel() log.Level
- func GetTypeName(i interface{}) string
- func MapKeys(m map[string]interface{}) []string
- func Metrics() *statsd.Client
- func MsToTime(ms string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCorrelationID ¶
func CreateCorrelationID() string
CreateCorrelationID generates a new uuid
func GetFunctionName ¶
func GetFunctionName(i interface{}) string
GetFunctionName uses reflection to get the name of a function as a string
func GetLogFormatter ¶
GetLogFormatter retrieves the desired log formatter from settings.
NOTE: This should only be called after viper initializes
func GetLogLevel ¶
GetLogLevel retrieves the desired log level from settings.
NOTE: This should only be called after viper initializes
func GetTypeName ¶
func GetTypeName(i interface{}) string
GetTypeName uses reflection to get the name of a type as a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.