zapmux

package module
v0.0.0-...-d91acff Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: MIT Imports: 2 Imported by: 0

README

zapmux

mux core for go.uber.org/zap

Installation

go get -u github.com/daichitakahashi/zapmux

Notes

2018.09.05

DuxCore is under development

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreEntry

type CoreEntry struct {
	Core  zapcore.Core
	Entry zapcore.Entry
}

CoreEntry is

func (*CoreEntry) With

func (ce *CoreEntry) With(fields ...zapcore.Field)

With is wrapper

type DuxCore

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

DuxCore is

func NewDuxCore

func NewDuxCore(main, sub zapcore.Core) *DuxCore

NewDuxCore is

func (*DuxCore) Check

Check is

func (*DuxCore) Enabled

func (dc *DuxCore) Enabled(lvl zapcore.Level) bool

Enabled is

func (*DuxCore) Sync

func (dc *DuxCore) Sync() error

Sync is

func (*DuxCore) With

func (dc *DuxCore) With(fields []zapcore.Field) zapcore.Core

With is

func (*DuxCore) WithInterceptor

func (dc *DuxCore) WithInterceptor(interceptor func(main, sub *CoreEntry)) *DuxCore

WithInterceptor ???

func (*DuxCore) Write

func (dc *DuxCore) Write(e zapcore.Entry, fields []zapcore.Field) error

Write is

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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