logdata

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEBUG = iota
	INFO
	WARN
	ERROR
	FATAL
)

Variables

View Source
var LevelName [5]string

Functions

This section is empty.

Types

type Level

type Level uint8

type Log

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

func NewLog

func NewLog(level Level, format string, a []interface{}) *Log

func (*Log) A

func (l *Log) A() []interface{}

func (*Log) File

func (l *Log) File() string

func (*Log) Format

func (l *Log) Format() string

func (*Log) Level

func (l *Log) Level() Level

func (*Log) Line

func (l *Log) Line() int

func (*Log) Time

func (l *Log) Time() time.Time

Jump to

Keyboard shortcuts

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