sdklogger

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DPanic

func DPanic(args ...any)

func DPanicOrReturn

func DPanicOrReturn(args ...any) error

func Error

func Error(args ...any)

func Panic

func Panic(args ...any)

func SetGlobalLogger

func SetGlobalLogger(l Logger)

func Warn

func Warn(args ...any)

Types

type Logger

type Logger interface {
	Warn(...any)
	Error(...any)
	Panic(...any)
	DPanic(...any)
}

zap.SugaredLogger style.

Jump to

Keyboard shortcuts

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