Documentation ¶
Index ¶
- func PhusluLogLevel(level event.LogLevel) ps.Level
- func PhusluMarshalAnyError(entry *ps.Entry, anyErr any)
- type PhusluLogger
- func (me PhusluLogger) LogDebug(enm event.LogEnum, hub string, topic string, lsner string)
- func (me PhusluLogger) LogError(enm event.LogEnum, hub string, topic string, lsner string, err any)
- func (me PhusluLogger) LogEventDebug(enm event.LogEnum, lsner string, evnt event.Event)
- func (me PhusluLogger) LogEventError(enm event.LogEnum, lsner string, evnt event.Event, err any)
- func (me PhusluLogger) LogEventInfo(enm event.LogEnum, lsner string, evnt event.Event)
- func (me PhusluLogger) LogInfo(enm event.LogEnum, hub string, topic string, lsner string)
- func (me PhusluLogger) Target() *ps.Logger
- type PhusluLoggerT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PhusluLogLevel ¶
func PhusluMarshalAnyError ¶
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
}
Click to show internal directories.
Click to hide internal directories.