std

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultGlobalStdLogger

func NewDefaultGlobalStdLogger() event.LevelFilteringLogger

func NewDefaultStdLogger

func NewDefaultStdLogger(target *log.Logger) event.LevelFilteringLogger

Types

type StdLogger

type StdLogger = *StdLoggerT

func NewStdLogger

func NewStdLogger(target *log.Logger) StdLogger

func (StdLogger) LogDebug

func (me StdLogger) LogDebug(enm event.LogEnum, hub string, topic string, lsner string)

func (StdLogger) LogError

func (me StdLogger) LogError(enm event.LogEnum, hub string, topic string, lsner string, err any)

func (StdLogger) LogEventDebug

func (me StdLogger) LogEventDebug(enm event.LogEnum, lsner string, evnt event.Event)

func (StdLogger) LogEventError

func (me StdLogger) LogEventError(enm event.LogEnum, lsner string, evnt event.Event, err any)

func (StdLogger) LogEventInfo

func (me StdLogger) LogEventInfo(enm event.LogEnum, lsner string, evnt event.Event)

func (StdLogger) LogInfo

func (me StdLogger) LogInfo(enm event.LogEnum, hub string, topic string, lsner string)

func (StdLogger) Target

func (me StdLogger) Target() *log.Logger

type StdLoggerT

type StdLoggerT struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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