Back to

Package log

Latest Go to latest

The highest tagged major version is .

Published: May 21, 2020 | License: MIT | Module:


func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Panic

func Panic(args ...interface{})

func Panicf

func Panicf(format string, args ...interface{})

func SetLogger

func SetLogger(log *zap.SugaredLogger)

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

func With

func With(args ...interface{}) *zap.SugaredLogger

type Fn

type Fn func(string, ...interface{})

Fn typedefs a logging function so it can be passed around

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

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