logger

package
v0.0.0-...-45f08d6 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware() core.Middleware

Middleware instances a Logger middleware that will write the logs to gen.DefaultWriter By default gen.DefaultWriter = os.Stdout

func SetWriter

func SetWriter(w io.Writer)

SetWriter SetWriter

func WithWriter

func WithWriter(notlogged ...string) core.Middleware

WithWriter instance a Logger middleware with the specified writter buffer. Example: os.Stdout, a file opened in write mode, a socket...

Types

This section is empty.

Jump to

Keyboard shortcuts

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