entry

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Time      time.Time
	Level     Level
	Program   string
	Component string
	Message   string
}

func Make

func Make(level Level, s string, args ...interface{}) Entry

type Level

type Level string
const (
	LevelDebug Level = "DEBUG"
	LevelInfo  Level = "INFO "
	LevelWarn  Level = "WARN "
	LevelError Level = "ERROR"
	LevelFatal Level = "FATAL"
)

Jump to

Keyboard shortcuts

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