logging

package
v0.0.0-...-cea2a50 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(level slog.Level, show bool)

func Tracing

func Tracing(e CommonError) []string

Types

type CommonError

type CommonError struct {
	Err     error
	Stk     Stk
	Message string
}

func New

func New(op Stk, m string) CommonError

func NewError

func NewError(op Stk, m string, err error) CommonError

func (CommonError) Error

func (e CommonError) Error() string

func (*CommonError) Logging

func (e *CommonError) Logging()

type Stk

type Stk string

Jump to

Keyboard shortcuts

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