logger

package
v0.0.0-...-f9b5611 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APILogger

func APILogger() gin.HandlerFunc

APILogger provide Logrus integration for Gin APIs

func Debug

func Debug(msg string, a ...interface{})

Debug logging with DEBUG level

func Error

func Error(msg string, a ...interface{})

Error logging with ERROR level

func Errorf

func Errorf(msg string, a ...interface{}) error

Errorf logging with ERROR level and returns an error struct

func Info

func Info(msg string, a ...interface{})

Info logging with INFO level

func Init

func Init(discard bool)

Init initialize the logging system

Types

This section is empty.

Jump to

Keyboard shortcuts

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