zaplog

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = New()
)

Functions

This section is empty.

Types

type Logger

type Logger struct {
	dummybox.DummyBox
	// contains filtered or unexported fields
}

func New

func New(optionFunc ...OptionFunc) *Logger

func (*Logger) StreamServerInterceptor

func (l *Logger) StreamServerInterceptor() grpc.StreamServerInterceptor

func (*Logger) UnaryServerInterceptor

func (l *Logger) UnaryServerInterceptor() grpc.UnaryServerInterceptor

type OptionFunc

type OptionFunc func(*Options)

func WithConfigurator

func WithConfigurator(cfg config.SubConfigurator) OptionFunc

type Options

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

Jump to

Keyboard shortcuts

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