log

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(msg string, err error)

func Fatalf added in v1.5.7

func Fatalf(msg string, args ...interface{})

func Info added in v1.5.7

func Info(msg string, args ...interface{})

func WithLogger

func WithLogger(l Logger)

Types

type Logger

type Logger interface {
	Error(msg string, err error)
	Info(msg string, args ...interface{})
	Fatalf(msg string, args ...interface{})
}

Jump to

Keyboard shortcuts

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