log

package
v0.0.0-...-9d97ec1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Key string
	Val any
}

func WithData

func WithData(key string, val any) *Data

type Logger

type Logger interface {
	Error(msg string, data *Data)
	Info(msg string, data *Data)
	Trace(key string, msg string)
}

func MustInit

func MustInit(t string) Logger

Jump to

Keyboard shortcuts

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