log

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Unlicense Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Err

func Err(err string) error

func GetInput

func GetInput() string

Types

type Log

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

func Init

func Init(update func(string, string, string)) (l *Log)

func (*Log) Error

func (l *Log) Error(fun, mesg string)

func (*Log) Fatal

func (l *Log) Fatal(fun, mesg string)

func (*Log) IsErr

func (l *Log) IsErr(err error, fun string) bool

func (*Log) IsFatal

func (l *Log) IsFatal(err error, fun string)

func (*Log) Mesg

func (l *Log) Mesg(fun, mesg string)

func (*Log) Warn

func (l *Log) Warn(fun, mesg string)

Jump to

Keyboard shortcuts

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