zap

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

Zap Logger

Usage

go get github.com/go-jimu/contrib/logger/zap@latest

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLog

func NewLog(zl *zap.Logger) logger.Logger

Types

type ZapLogger

type ZapLogger struct {
	// contains filtered or unexported fields
}

func (*ZapLogger) Log

func (zl *ZapLogger) Log(level logger.Level, kvs ...interface{})

Jump to

Keyboard shortcuts

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