log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: GPL-3.0 Imports: 5 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 struct {
	zerolog.Logger
}

Logger wraps zerolog.Logger with additional context.

func New

func New(level string, pretty bool) Logger

New creates a new logger instance.

func (Logger) Module

func (l Logger) Module(name string) Logger

Module creates a logger for a specific module.

func (Logger) With

func (l Logger) With() zerolog.Context

With creates a child logger with additional context.

Jump to

Keyboard shortcuts

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