logger

package
v0.0.0-...-c701154 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 7 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 struct {
	Level  zapcore.Level
	Name   string
	Format string
}

type Sugar

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

func New

func New(cfg *config.Config, configs ...*Config) (*Sugar, error)

func (*Sugar) Sync

func (s *Sugar) Sync() error

func (*Sugar) Write

func (s *Sugar) Write(lvl zapcore.Level, msg string, keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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