logging

package
v0.0.0-...-32bd987 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel

type LogLevel int64
const (
	Debug LogLevel = iota
	Information
	Warning
	Error
)

type Logger

type Logger interface {
	Debug(format string, a ...interface{})
	Information(format string, a ...interface{})
	Warning(format string, a ...interface{})
	Error(format string, a ...interface{})
}

func NewConsoleLogger

func NewConsoleLogger(logLevel LogLevel, context string) Logger

Jump to

Keyboard shortcuts

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