status

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Logger is a status logging object. This object aggregates state summaries from services to print the status logs seen during normal operation.

func (*Logger) Close

func (sl *Logger) Close()

Close closes the object

func (*Logger) Init

func (sl *Logger) Init(ce *lstate.Engine, pm *peering.PeerManager, ad *admin.Handlers, mon monitor.Monitor) error

Init initalizes the object

func (*Logger) Run

func (sl *Logger) Run()

Run starts a locking loop that will print status logs

Jump to

Keyboard shortcuts

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