logging

package
v0.0.0-...-86e4b03 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Level

func Level() string

Level returns logging level.

func Output

func Output(v io.Writer)

Output sets logging output.

func SetLevel

func SetLevel(v string)

SetLevel sets logging level.

Types

type Logger

type Logger log.Logger

Logger defines the interface that is used for logging operations.

func NewLogger

func NewLogger(n string) Logger

NewLogger creates a new Logger instance with name n.

Jump to

Keyboard shortcuts

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