log

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(s Struct, a ...any)

func Debugf

func Debugf(s Struct, format string, a ...any)

func Error

func Error(s Struct, a ...any)

func Errorf

func Errorf(s Struct, format string, a ...any)

func Info

func Info(s Struct, a ...any)

func Infof

func Infof(s Struct, format string, a ...any)

func Init

func Init(handleType, level, timeLayout string, sourceFile bool, out io.Writer)

Warn: must use Init if imported, otherwise trigger nil pointer panic

func Warn

func Warn(s Struct, a ...any)

func Warnf

func Warnf(s Struct, format string, a ...any)

Types

type Struct

type Struct []any

func NewUrlStruct

func NewUrlStruct(a ...any) Struct

func (*Struct) Append

func (s *Struct) Append(a ...any)

func (*Struct) Clear

func (s *Struct) Clear()

Jump to

Keyboard shortcuts

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