logger

package
v0.2.3-danish Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Info(msg string, fields ...interface{})
	Warn(msg string, fields ...interface{})
	Fatal(msg string, fields ...interface{})
	Debug(msg string, fields ...interface{})
	Error(msg string, fields ...interface{})
}

type ZapLogger

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

func NewZapLogger

func NewZapLogger() *ZapLogger

func (*ZapLogger) Debug

func (z *ZapLogger) Debug(msg string, fields ...interface{})

func (*ZapLogger) Error

func (z *ZapLogger) Error(msg string, fields ...interface{})

func (*ZapLogger) Fatal

func (z *ZapLogger) Fatal(msg string, fields ...interface{})

func (*ZapLogger) Info

func (z *ZapLogger) Info(msg string, fields ...interface{})

func (*ZapLogger) Warn

func (z *ZapLogger) Warn(msg string, fields ...interface{})

Jump to

Keyboard shortcuts

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