logger

package
v0.0.0-...-23aae7a Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrDetails

func ErrDetails(err error) zapcore.Field

func Local

func Local(name string) zapcore.Field

func New

func New() *zap.Logger

func Postgres

func Postgres(name string) zapcore.Field

func Redis

func Redis(name string) zapcore.Field

func Server

func Server(addr string) zapcore.Field

Types

type Config

type Config struct {
	Level zapcore.LevelEnabler
}

func NewConfig

func NewConfig() Config

func (*Config) New

func (c *Config) New() (*zap.Logger, error)

Jump to

Keyboard shortcuts

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