internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CannonicalLog

type CannonicalLog struct {
	WrappedCore zapcore.Core
	EmptyCore   zapcore.Core
	Fields      []zapcore.Field
	// contains filtered or unexported fields
}

func (*CannonicalLog) Check

func (*CannonicalLog) Enabled

func (c *CannonicalLog) Enabled(l zapcore.Level) bool

func (*CannonicalLog) Reset added in v0.2.0

func (c *CannonicalLog) Reset()

Reset will clear all set fields to allow the core to be reused

func (*CannonicalLog) Sync

func (c *CannonicalLog) Sync() error

func (*CannonicalLog) With

func (c *CannonicalLog) With(f []zapcore.Field) zapcore.Core

func (*CannonicalLog) Write

func (c *CannonicalLog) Write(e zapcore.Entry, f []zapcore.Field) error

Jump to

Keyboard shortcuts

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