inlog

package
v0.0.0-...-2d29fd2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...any)

Debug innerPrint Debug logs

func Debugf

func Debugf(format string, args ...any)

Debugf innerPrint Debugf logs

func Error

func Error(args ...any)

Error innerPrint Error logs

func Errorf

func Errorf(format string, args ...any)

Errorf innerPrint Errorf logs

func Info

func Info(args ...any)

Info innerPrint Info logs

func Infof

func Infof(format string, args ...any)

Infof innerPrint Infof logs

func Panic

func Panic(args ...any)

Panic innerPrint Panic logs

func Panicf

func Panicf(format string, args ...any)

Panicf innerPrint Panicf logs

func Warn

func Warn(args ...any)

Warn innerPrint Warn logs

func Warnf

func Warnf(format string, args ...any)

Warnf innerPrint Warnf logs

Types

type FmtPrinter

type FmtPrinter struct{}

func (FmtPrinter) Debug

func (f FmtPrinter) Debug(args ...any)

func (FmtPrinter) Debugf

func (f FmtPrinter) Debugf(format string, args ...any)

func (FmtPrinter) Error

func (f FmtPrinter) Error(args ...any)

func (FmtPrinter) Errorf

func (f FmtPrinter) Errorf(format string, args ...any)

func (FmtPrinter) Info

func (f FmtPrinter) Info(args ...any)

func (FmtPrinter) Infof

func (f FmtPrinter) Infof(format string, args ...any)

func (FmtPrinter) Panic

func (f FmtPrinter) Panic(args ...any)

func (FmtPrinter) Panicf

func (f FmtPrinter) Panicf(format string, args ...any)

func (FmtPrinter) Warn

func (f FmtPrinter) Warn(args ...any)

func (FmtPrinter) Warnf

func (f FmtPrinter) Warnf(format string, args ...any)

type IMinimLog

type IMinimLog interface {
	Debugf(format string, args ...any)
	Infof(format string, args ...any)
	Warnf(format string, args ...any)
	Errorf(format string, args ...any)
	Panicf(format string, args ...any)

	Debug(args ...any)
	Info(args ...any)
	Warn(args ...any)
	Error(args ...any)
	Panic(args ...any)
}

Jump to

Keyboard shortcuts

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