logs

package
v0.0.0-...-414c732 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error) error

func Errorf

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

func NewErrorModule

func NewErrorModule() container.Module

Types

type Logger

type Logger interface {
	io.Writer

	Info(msg string)
	Warn(msg string)
	Error(msg string)
	Fatal(msg string)

	Infof(format string, data ...interface{})
	Warnf(format string, data ...interface{})
	Errorf(format string, data ...interface{})
	Fatalf(format string, data ...interface{})
}

func NewLogger

func NewLogger() Logger

func NewLoggerWithStacktrace

func NewLoggerWithStacktrace() Logger

Jump to

Keyboard shortcuts

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