log

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Caller

func Caller() logger.Valuer

func Carry

func Carry(key any) logger.Valuer

func Default

func Default() logger.Logger

func NewLog

func NewLog(opt Option) logger.Logger

Types

type Option

type Option struct {
	Level      string `json:"level" toml:"level" yaml:"level"`
	MessageKey string `json:"message_key" toml:"message_key" yaml:"message_key"`
}

Jump to

Keyboard shortcuts

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