logger

package
Version: v0.0.0-...-f0a8b93 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL