zapadapter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package zapadapter allows github.com/go-kit/log to be used as a Zap core.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New returns a new zap.Logger instance which will forward logs to the provided log.Logger. The github.com/go-kit/log/level package will be used for specifying log levels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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