logs

package
v0.0.0-...-7647e70 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 10 Imported by: 128

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Codef

func Codef(format string, args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Dump

func Dump(variable interface{})

func Error

func Error(err error)

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(err error)

func Fatalf

func Fatalf(format string, args ...interface{})

func HasWriter

func HasWriter() bool

func Infof

func Infof(format string, args ...interface{})

func Off

func Off()

func On

func On()

func PrintAsJSON

func PrintAsJSON(value interface{}, t ...*testing.T)

func Printf

func Printf(format string, args ...interface{})

func Println

func Println(args ...interface{})

func SetWriter

func SetWriter(newWriter Writer)

func Sprintf

func Sprintf(format string, args ...interface{}) string

func Successf

func Successf(format string, args ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

Types

type Writer

type Writer interface {
	Init()
	Write(log string)
	Close()
}

Jump to

Keyboard shortcuts

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