zap

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = zaplog.Config

Config Deprecated: use zaplog.Config.

type Logger

type Logger = zaplog.Logger

Logger Deprecated: use zaplog.Logger.

func NewLogger

func NewLogger(config *Config, options ...Option) (*Logger, error)

NewLogger Deprecated: use zaplog.NewLogger.

type Option

type Option = zaplog.Option

Option Deprecated: use zaplog.Option.

func AddCaller

func AddCaller() Option

AddCaller Deprecated: use zaplog.AddCaller.

func AddStacktrace

func AddStacktrace(level string) Option

AddStacktrace Deprecated: use zaplog.AddStacktrace.

func WithField

func WithField(key string, value interface{}) Option

WithField Deprecated: use zaplog.WithField.

Jump to

Keyboard shortcuts

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