logger

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrashDeferHandler

func CrashDeferHandler()

func NewDNLogger

func NewDNLogger() log.Logger

func SetupSentry

func SetupSentry(appName, appVersion, appCommit string) error

Types

type DNLogger

type DNLogger struct {
	log.Logger
}

Custom logger which extends standard Tendermint logger

func (*DNLogger) Error

func (l *DNLogger) Error(msg string, keyvals ...interface{})

Extended Error() implementation with Sentry support

func (*DNLogger) With

func (l *DNLogger) With(keyvals ...interface{}) log.Logger

Method overwrite

Jump to

Keyboard shortcuts

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