Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEnabled ¶
func IsEnabled() bool
IsEnabled reports whether the logger middleware is enabled in the configuration.
func NewLogger ¶
func NewLogger() cloudevents.Middleware
NewLogger creates a logger middleware. The level will be as specified in config.
Types ¶
type Logger ¶
type Logger struct { cloudevents.UnimplementedMiddleware // contains filtered or unexported fields }
Logger represents the logger middleware for events.
Click to show internal directories.
Click to hide internal directories.