logger

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Info  *log.Logger
	Warn  *log.Logger
	Error *log.Logger
)

Global loggers

Functions

func Init

func Init(path, level, prefix string)

Init creates loggers

func Panic

func Panic(v ...interface{})

Panic is a convenience wrapper for logger.Error.Panic().

func Panicf

func Panicf(format string, v ...interface{})

Panicf is a convenience wrapper for logger.Error.Panicf().

Types

This section is empty.

Jump to

Keyboard shortcuts

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