logger

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

func Level

func Level() string

func NewLogger

func NewLogger() cloudevents.Middleware

Types

type Logger

type Logger struct {
	cloudevents.UnimplementedMiddleware
	// contains filtered or unexported fields
}

func (*Logger) After

func (m *Logger) After(ctx context.Context, in v2.Event, out *v2.Event, err error) (context.Context, error)

func (*Logger) Before

func (m *Logger) Before(ctx context.Context, in *v2.Event) (context.Context, error)

Jump to

Keyboard shortcuts

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