debuglog

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupOrderedLog

func SetupOrderedLog(id int) *logrus.Logger

Types

type AddPeerLogHook

type AddPeerLogHook struct {
	Id string
}

func (AddPeerLogHook) Fire

func (a AddPeerLogHook) Fire(e *logrus.Entry) error

func (AddPeerLogHook) Levels

func (a AddPeerLogHook) Levels() []logrus.Level

type NeedInitDefault

type NeedInitDefault interface {
	InitDefault()
}

All stucts that need call InitDefault() before being used

type NodeLogger

type NodeLogger struct {
	Logger *logrus.Logger
}

Jump to

Keyboard shortcuts

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