gozap2seq

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogInjector

type LogInjector struct {
	EnableFallbackConsoleLogger bool
	// contains filtered or unexported fields
}

func NewLogInjector

func NewLogInjector(sequrl, token string) (*LogInjector, error)

func (*LogInjector) Build

func (i *LogInjector) Build(zapconfig zap.Config) *zap.Logger

func (*LogInjector) Wait

func (i *LogInjector) Wait()

func (*LogInjector) Write

func (i *LogInjector) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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