superviser

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupervisorFactory = newGenericSupervisor
)

Functions

func NewNodeLogPlugin

func NewNodeLogPlugin(debugFirehose bool) logplugin.LogPlugin

This file configures a logging reader that transforms log lines received from the blockchain process running and then logs them inside the Firehose stack logging system.

A default implementation uses a regex to identify the level of the line and turn it into our internal level value.

You should override the `GetLogLevelFunc` above to determine the log level for your speficic chain

Types

type GenericSuperviser

type GenericSuperviser struct {
	*superviser.Superviser
	// contains filtered or unexported fields
}

func (*GenericSuperviser) GetCommand

func (g *GenericSuperviser) GetCommand() string

func (*GenericSuperviser) GetName

func (g *GenericSuperviser) GetName() string

func (*GenericSuperviser) ServerID

func (g *GenericSuperviser) ServerID() (string, error)

Jump to

Keyboard shortcuts

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