Documentation
¶
Index ¶
- Variables
- func CheckFatal(err error)
- func InjectHandler(mainLog Interface) func(http.Handler) http.Handler
- func Logger(name string) kitlog.Logger
- func NewContext(ctx context.Context, log Interface) context.Context
- func RecoveryHandler() func(http.Handler) http.Handler
- func SetCloseChan(c chan<- os.Signal)
- func SetupLogging(w io.Writer)
- func Writer(unit string, l kitlog.Logger) io.WriteCloser
- type Interface
Constants ¶
This section is empty.
Variables ¶
View Source
var LogCTXKey logctxKeyT = "loggingContextKey"
Functions ¶
func SetCloseChan ¶
func SetupLogging ¶
SetupLogging will initialize the logger backend and set the flags.
Types ¶
Click to show internal directories.
Click to hide internal directories.