logger

package
v0.0.0-...-3000ae6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Level string
}

Config has all needed values to create the Logger.

type Logger

type Logger struct {
	Log *zap.Logger
}

Logger has all is needed to use Logger pkg.

func New

func New(cfg Config) *Logger

New provides a Logger object as a Factory pattern.

Jump to

Keyboard shortcuts

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