Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fields ¶
type Fields map[string]interface{}
Fields Type to pass when we want to call WithFields for structured logging
type Logger ¶
type Logger interface { Debug(format string, args ...interface{}) Info(format string, args ...interface{}) Warn(format string, args ...interface{}) Error(format string, args ...interface{}) Fatal(args ...interface{}) Panic(format string, args ...interface{}) WithFields(keyValues Fields) Logger }
Logger is our contract for the logger
var Log Logger
A global variable so that log functions can be directly accessed
func WithFields ¶
Click to show internal directories.
Click to hide internal directories.