log

package
v0.0.0-...-215cb89 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: GPL-3.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LstdFlags = log.LstdFlags

Functions

func Fatalln

func Fatalln(v ...interface{})

func LogError

func LogError(err error, logger Logger)

Types

type Logger

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

func New

func New(out io.Writer, prefix string, flag int) *Logger

func NewTestLogger

func NewTestLogger() *Logger

func (*Logger) Error

func (logger *Logger) Error(msg string)

func (*Logger) Info

func (logger *Logger) Info(msg string)

func (*Logger) Warn

func (logger *Logger) Warn(msg string)

Jump to

Keyboard shortcuts

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