pubsub

package
v0.0.0-...-0a271de Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrappedLogger

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

WrappedLogger is a logger.Logger that logs to pubsub.Logger interface.

func WrapLogger

func WrapLogger(logger logger.Logger) *WrappedLogger

WrapLogger returns a new instance of WrappedLogger.

func (*WrappedLogger) Debugf

func (c *WrappedLogger) Debugf(msg string, args ...any)

Debug logs a message at the debug level.

func (*WrappedLogger) Errorf

func (c *WrappedLogger) Errorf(msg string, args ...any)

Error logs a message at the error level.

func (*WrappedLogger) Tracef

func (c *WrappedLogger) Tracef(msg string, args ...any)

Trace logs a message at the info level.

Directories

Path Synopsis
Package agent contains messages for all agents rather than controllers.
Package agent contains messages for all agents rather than controllers.

Jump to

Keyboard shortcuts

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