logger

package
v0.0.6-alpha-312cf35 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Debug(message interface{}, args ...interface{})
	Info(message string, args ...interface{})
	Warn(message string, args ...interface{})
	Error(message interface{}, args ...interface{})
	Fatal(message interface{}, args ...interface{})
}

Interface -.

type Logger

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

Logger -.

func New

func New(level string) *Logger

New -.

func (*Logger) Debug

func (l *Logger) Debug(message interface{}, args ...interface{})

Debug -.

func (*Logger) Error

func (l *Logger) Error(message interface{}, args ...interface{})

Error -.

func (*Logger) Fatal

func (l *Logger) Fatal(message interface{}, args ...interface{})

Fatal -.

func (*Logger) Info

func (l *Logger) Info(message string, args ...interface{})

Info -.

func (*Logger) Warn

func (l *Logger) Warn(message string, args ...interface{})

Warn -.

Jump to

Keyboard shortcuts

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