convlog

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const StackMinimizePackage = "github.com/insolar/assured-ledger/ledger-core/conveyor"

Variables

This section is empty.

Functions

func DisableTextConvLog

func DisableTextConvLog()

func GetStepName

func GetStepName(step interface{}) string

func MapBasicLogLevel

func MapBasicLogLevel(data smachine.StepLoggerData) (log.Level, string)

func MapCustomLogLevel

func MapCustomLogLevel(data smachine.StepLoggerData) (log.Level, string)

func MapLogEvent

func MapLogEvent(eventType smachine.StepLoggerEvent, stepLevel smachine.StepLogLevel) (log.Level, string)

func PrepareStepName

func PrepareStepName(sd *smachine.StepDeclaration)

func UseTextConvLog

func UseTextConvLog() bool

Types

type MachineLogger

type MachineLogger struct {
	EchoToGlobal bool
}

func (MachineLogger) CreateStepLogger

func (MachineLogger) LogMachineCritical

func (l MachineLogger) LogMachineCritical(data smachine.SlotMachineData, msg string)

func (MachineLogger) LogMachineInternal

func (l MachineLogger) LogMachineInternal(data smachine.SlotMachineData, msg string)

func (MachineLogger) LogStopping

func (MachineLogger) LogStopping(*smachine.SlotMachine)

Jump to

Keyboard shortcuts

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