zap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package zap implements the poya logger.Logger interface on top of go.uber.org/zap. Pass a configured *zap.Logger and poya will log through it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(l *zap.Logger) logger.Logger

New returns a poya Logger backed by the given zap logger. The caller owns the logger and is responsible for flushing it (zap.Logger.Sync) on shutdown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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