encoder

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterType

func RegisterType(name string, gen Factory)

Types

type Config

type Config struct {
	Namespace common.ConfigNamespace `logn-config:",inline"`
}

type Encoder

type Encoder interface {
	zapcore.Encoder
}

func CreateEncoder

func CreateEncoder(cfg Config) (Encoder, error)

type Factory

type Factory func(*common.Config) (Encoder, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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