clizap

package
v0.0.0-...-2009ccb Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clizap contains utilities to work with zap logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(writer io.Writer, level string, format string) (*zap.Logger, error)

NewLogger returns a new Logger.

The level can be [debug,info,warn,error]. The default is info. The format can be [text,color,json]. The default is color.

Types

This section is empty.

Jump to

Keyboard shortcuts

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