phuslu

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PhusluLogLevel

func PhusluLogLevel(level event.LogLevel) ps.Level

func PhusluMarshalAnyError

func PhusluMarshalAnyError(entry *ps.Entry, anyErr any)

Types

type PhusluLogger

type PhusluLogger = *PhusluLoggerT

func NewDefaultPhusluLogger

func NewDefaultPhusluLogger() PhusluLogger

func NewPhusluLogger

func NewPhusluLogger(target *ps.Logger) PhusluLogger

func (PhusluLogger) LogDebug

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

func (PhusluLogger) LogError

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

func (PhusluLogger) LogEventDebug

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

func (PhusluLogger) LogEventError

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

func (PhusluLogger) LogEventInfo

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

func (PhusluLogger) LogInfo

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

func (PhusluLogger) Target

func (me PhusluLogger) Target() *ps.Logger

type PhusluLoggerT

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

Jump to

Keyboard shortcuts

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