log

package
v0.0.0-...-ffad6be Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, fields ...map[string]any)

func Error

func Error(err error, msg string, fields ...map[string]any)

func Info

func Info(msg string, fields ...map[string]any)

func Init

func Init(level string, opts ...Option)

func Warn

func Warn(msg string, fields ...map[string]any)

Types

type Option

type Option func(*zerolog.Logger)

func WithDevelopmentMode

func WithDevelopmentMode() Option

func WithMetadata

func WithMetadata(meta *meta.Metadata) Option

Jump to

Keyboard shortcuts

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