log

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

func (Log) Debug

func (l Log) Debug(args ...interface{})

func (Log) Error

func (l Log) Error(args ...interface{})

func (Log) Fatal

func (l Log) Fatal(args ...interface{})

func (Log) Info

func (l Log) Info(args ...interface{})

func (Log) Panic

func (l Log) Panic(args ...interface{})

func (Log) SetLevel

func (l Log) SetLevel(n string)

func (Log) Warn

func (l Log) Warn(args ...interface{})

type Logger

type Logger interface {
	Debug(args ...interface{})
	Info(args ...interface{})
	Warn(args ...interface{})
	Error(args ...interface{})
	Fatal(args ...interface{})
	Panic(args ...interface{})
	SetLevel(level string)
}

func New

func New(label string) Logger

Jump to

Keyboard shortcuts

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