zapadapter

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package zapadapter provides yala adapter which leverages zap module (https://github.com/uber-go/zap).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Logger *zap.Logger
}

Adapter is a logger.Adapter implementation, which is using `zap` module (https://github.com/uber-go/zap).

func (Adapter) Log

func (a Adapter) Log(_ context.Context, entry logger.Entry)

Log logs the entry using zap module.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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