log

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2025 License: MIT Imports: 8 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func Configure

func Configure(isProduction bool) *Logger

func (Logger) DPanic

func (l Logger) DPanic(msg string, rest ...any)

func (Logger) Debug

func (l Logger) Debug(msg string, rest ...any)

func (Logger) Error

func (l Logger) Error(msg string, rest ...any)

func (Logger) Fatal

func (l Logger) Fatal(msg string, rest ...any)

func (Logger) GetLogger

func (l Logger) GetLogger() *zap.Logger

func (Logger) Info

func (l Logger) Info(msg string, rest ...any)

func (Logger) Named

func (l Logger) Named(name string) *Logger

func (Logger) Panic

func (l Logger) Panic(msg string, rest ...any)

func (Logger) Warn

func (l Logger) Warn(msg string, rest ...any)

func (Logger) With

func (l Logger) With(args ...any) *Logger

Jump to

Keyboard shortcuts

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