core

package
v0.0.0-...-75a7993 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewDevelopmentServer

func NewDevelopmentServer(options ...zap.Option) (*Server, error)

func NewNopServer

func NewNopServer() (*Server, error)

func NewProductionServer

func NewProductionServer() (*Server, error)

func NewServer

func NewServer(core *zapcore.Core) (*Server, error)

func (*Server) Log

func (s *Server) Log() *zap.Logger

func (*Server) WithLoggerFields

func (s *Server) WithLoggerFields(fields ...zap.Field) *Server

func (*Server) WithLoggerOptions

func (s *Server) WithLoggerOptions(opts ...zap.Option) *Server

Jump to

Keyboard shortcuts

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