logx

package
v0.0.0-...-a33a8dd Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any[T any](key string, value T) logger.Field

func Debug

func Debug(msg string, args ...logger.Field)

func Err

func Err(err error) logger.Field

func Error

func Error(msg string, args ...logger.Field)

func Fatal

func Fatal(msg string, args ...logger.Field)

func Float32

func Float32(key string, value float32) logger.Field

func Float64

func Float64(key string, value float64) logger.Field

func Info

func Info(msg string, args ...logger.Field)

func Int

func Int(key string, value int) logger.Field

func Int16

func Int16(key string, value int16) logger.Field

func Int32

func Int32(key string, value int32) logger.Field

func Int64

func Int64(key string, value int64) logger.Field

func Int8

func Int8(key string, value int8) logger.Field

func Map

func Map[K comparable, V any](key string, value map[K]V) logger.Field

func Panic

func Panic(msg string, args ...logger.Field)

func Slice

func Slice[T comparable](key string, value []T) logger.Field

func String

func String(key, value string) logger.Field

func Sync

func Sync() error

func Uint

func Uint(key string, value uint) logger.Field

func Uint16

func Uint16(key string, value uint16) logger.Field

func Uint32

func Uint32(key string, value uint32) logger.Field

func Uint64

func Uint64(key string, value uint64) logger.Field

func Uint8

func Uint8(key string, value uint8) logger.Field

func Warn

func Warn(msg string, args ...logger.Field)

func Warp

func Warp(logger logger.Logger)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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