log

package
v0.0.0-...-dfd90ba Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Warn  = true
	Err   = true
	Debug = true
	Info  = true
)

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Info(v ...interface{})
	Warn(v ...interface{})
	Error(v ...interface{})
	Debug(v ...interface{})
}

Logger is a basic logging interface. It supports 4 log levels: INFO, WARN, ERROR, DEBUG, configurable by LOG_LEVELS env var.

Default levels are Info, Warn, Error.

Directories

Path Synopsis
Simple logging package, based on golang built-in log package.
Simple logging package, based on golang built-in log package.

Jump to

Keyboard shortcuts

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