zapwrapper

package module
v0.0.0-...-3f57f09 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2018 License: MIT Imports: 4 Imported by: 1

README

zapwrapper

zapwrapper is a wrapper for zap log framework.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func Init

func Init(c Config)

Init zap logger config by Config fields

Types

type Config

type Config struct {
	OutputPath string
	LogLevel   string
	IsDebug    bool
}

Jump to

Keyboard shortcuts

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