logger

package
v2.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultLogger

func NewDefaultLogger() model.Logger

NewDefaultLogger creates a new DefaultLogger instance

Types

type DefaultLogger

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

DefaultLogger is the default implementation of Logger using zap.

func (*DefaultLogger) Debug

func (l *DefaultLogger) Debug(msg string, keysAndValues ...any)

func (*DefaultLogger) Error

func (l *DefaultLogger) Error(msg string, keysAndValues ...any)

func (*DefaultLogger) Fatal

func (l *DefaultLogger) Fatal(msg string, keysAndValues ...any)

func (*DefaultLogger) Info

func (l *DefaultLogger) Info(msg string, keysAndValues ...any)

Jump to

Keyboard shortcuts

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