log

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(lvl log.Level) (log.Logger, error)

Types

type Logger

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

func (*Logger) Debug

func (l *Logger) Debug(msg string, kv ...interface{})

func (*Logger) Error

func (l *Logger) Error(msg string, kv ...interface{})

func (*Logger) Info

func (l *Logger) Info(msg string, kv ...interface{})

func (*Logger) Panic

func (l *Logger) Panic(msg string, kv ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(msg string, kv ...interface{})

Jump to

Keyboard shortcuts

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