geblog

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnEventDebugMiddleware

func OnEventDebugMiddleware(l log.Logger, logEventBody bool) geb.Middleware

OnEventDebugMiddleware return a middleware which will log additional data about event if debug level is enabled in the logger. Event header and body will be logged, based on the passed parameters.

func OnEventErrorMiddleware

func OnEventErrorMiddleware(l log.Logger) geb.Middleware

OnEventErrorMiddleware return a middleware which will log errors on ERROR level. s.

func PublishMiddleware

func PublishMiddleware(l log.Logger, logEventBody bool) geb.Middleware

PublishMiddleware return a middleware which will log additional data about event if debug level is enabled in the logger. Event header and body will be logged, based on the passed parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL