log

package
v0.0.0-...-ac4703f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, args ...interface{})

Errorf .

func Infof

func Infof(format string, args ...interface{})

Infof .

func Init

func Init(c *Config) (err error)

Init .

func NewZap

func NewZap(c *Config) (*zap.Logger, error)

NewZap .

func Warnf

func Warnf(format string, args ...interface{})

Warnf .

Types

type Config

type Config struct {
	Filename    string
	Development bool
}

Config .

type Level

type Level int8

Level .

func (Level) String

func (l Level) String() string

String returns the string value of log level

Jump to

Keyboard shortcuts

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