log

package
v0.0.0-...-d0b798f Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(level string) log.Logger

NewLogger returns a new logger with the given log level.

Types

type GetWriter

type GetWriter interface {
	GetWriter() io.Writer
}

type Logger

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

func (*Logger) GetWriter

func (l *Logger) GetWriter() io.Writer

Jump to

Keyboard shortcuts

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