logrushooks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrorTraceName is the error trace key name
	ErrorTraceName = "Trace"
	// ErrorAddInfoName is the error additional info key name
	ErrorAddInfoName = "AdditionalInfo"
)

define additional field in error information

Variables

This section is empty.

Functions

func RecordLog

func RecordLog(params interface{}, err error)

RecordLog record the log with params

func Recover

func Recover(params interface{})

Recover recover the err with params

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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