logrus

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg core.Config) core.Logger

Types

type Adapter

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

func (*Adapter) Debug

func (a *Adapter) Debug(ctx context.Context, msg string, args ...any)

func (*Adapter) Error

func (a *Adapter) Error(ctx context.Context, msg string, args ...any)

func (*Adapter) Errorf added in v1.0.3

func (a *Adapter) Errorf(ctx context.Context, format string, args ...any)

func (*Adapter) Info

func (a *Adapter) Info(ctx context.Context, msg string, args ...any)

func (*Adapter) Infof added in v1.0.3

func (a *Adapter) Infof(ctx context.Context, format string, args ...any)

func (*Adapter) Warn

func (a *Adapter) Warn(ctx context.Context, msg string, args ...any)

func (*Adapter) Warnf added in v1.0.3

func (a *Adapter) Warnf(ctx context.Context, format string, args ...any)

func (*Adapter) With

func (a *Adapter) With(args ...any) core.Logger

Jump to

Keyboard shortcuts

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