dependency

package
v0.0.0-...-c3d9892 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 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 dependency.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) Infof

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

Info logs a message at the info level.

func (*WrappedLogger) Tracef

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

Trace logs a message at the trace level.

Jump to

Keyboard shortcuts

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