logger

package
v0.0.0-...-7428172 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logger provides a helper function responsible for encapsulating logger construction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fields ...Field) (*zap.SugaredLogger, error)

Types

type Field

type Field struct {
	Name  string
	Value any
}

Jump to

Keyboard shortcuts

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