Back to godoc.org

Package logger

v0.0.0-...-cc4ef14
Latest Go to latest

The highest tagged major version is .

Published: Mar 11, 2020 | License: Apache-2.0 | Module: github.com/cloudfoundry-incubator/bits-service

Index

Variables

var Log = setUpDefaultLogger().Sugar()

func From

func From(r *http.Request) *zap.SugaredLogger

func NewStdLog

func NewStdLog(l *zap.Logger) *log.Logger

Copied from go.uber.org/zap/global.go and changed to use Error instead of Info:

func SetLogger

func SetLogger(logger *zap.Logger)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier