logger

package
v0.0.0-...-1a9c2fa Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package logger provides structured logging functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*zap.SugaredLogger
}

Logger wraps zap.Logger to provide a simpler interface.

func New

func New(debug bool) *Logger

New creates a new Logger instance.

func (*Logger) With

func (l *Logger) With(args ...interface{}) *Logger

With adds structured context to the logger.

Jump to

Keyboard shortcuts

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