logger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TEST  = 10
	DEBUG = iota
	INFO
	WARNING
	ERROR
	FATAL
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func New

func New(LogLevel string) *Logger

func (*Logger) Debug

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

func (*Logger) Error

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

func (*Logger) Fatal

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

func (*Logger) Info

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

func (*Logger) Warning

func (l *Logger) Warning(args ...interface{})

Jump to

Keyboard shortcuts

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