logger

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InfoLogger   = logrus.New()
	ErrorLogger  = logrus.New()
	AccessLogger = logrus.New()
)

Functions

func Error

func Error(err ...interface{})

func Info

func Info(info ...interface{})

func SetAccessLogger

func SetAccessLogger(path string, debug bool)

func SetErrorLogger

func SetErrorLogger(path string, debug bool)

func SetInfoLogger

func SetInfoLogger(path string, debug bool)

func Warn

func Warn(info ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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