logs

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(a ...any) string

func Debug

func Debug(v ...any)

func Error

func Error(v ...any)

func Fatal

func Fatal(v ...any)

func Info

func Info(v ...any)

func Panic

func Panic(v ...any)

func PrependPrefix added in v0.6.0

func PrependPrefix(prefix string)

func SetOutput added in v0.1.5

func SetOutput(w io.Writer)

func Warning

func Warning(v ...any)

Types

type Loggers added in v0.6.0

type Loggers struct {
	// contains filtered or unexported fields
}

func NewLoggers added in v0.7.0

func NewLoggers() *Loggers

func (*Loggers) Debug added in v0.6.0

func (ls *Loggers) Debug(v ...any)

func (*Loggers) Error added in v0.6.0

func (ls *Loggers) Error(v ...any)

func (*Loggers) Fatal added in v0.6.0

func (ls *Loggers) Fatal(v ...any)

func (*Loggers) Info added in v0.6.0

func (ls *Loggers) Info(v ...any)

func (*Loggers) Panic added in v0.6.0

func (ls *Loggers) Panic(v ...any)

func (*Loggers) PrependPrefix added in v0.6.0

func (ls *Loggers) PrependPrefix(prefix string)

func (*Loggers) SetOutput added in v0.6.0

func (ls *Loggers) SetOutput(output io.Writer)

func (*Loggers) Warning added in v0.6.0

func (ls *Loggers) Warning(v ...any)

Jump to

Keyboard shortcuts

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