zap

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package zap defines a simple implementation of the logging interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...zap.Option) (log.Logger, error)

New creates a logger based on the default log15 logger

func NewWrap

func NewWrap(logger *zap.SugaredLogger) log.Logger

NewWrap creates a logger based on log15 logs

Types

This section is empty.

Jump to

Keyboard shortcuts

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