log

package
v0.0.0-...-c59394f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Biz = logrus.New()

Biz for user face logic logger

View Source
var Cluster = logrus.New()

Cluster for cluster error logger

View Source
var DB = logrus.New()

DB for database error logger

View Source
var Internal = logrus.New()

Internal for internal logic error

View Source
var Service = logrus.New()

Service for cluster error logger

Functions

func DBError

func DBError(sql interface{}, err error, message interface{})

DBError log database error

func InternalError

func InternalError(funcName string, message interface{})

InternalError for logic error

func LibError

func LibError(lib string, message interface{})

LibError for lib error

func ThirdPartyServiceError

func ThirdPartyServiceError(thirdPartyService string, err error, message interface{}, params ...string)

ThirdPartyServiceError for third-party node error

Types

This section is empty.

Jump to

Keyboard shortcuts

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