Back to

Package console

Latest Go to latest

The latest major version is .

Published: May 4, 2018 | License: Apache-2.0 | Module:


type ZapLogger

type ZapLogger struct {
	Logger *zap.Logger
	Tag    string
	Name   string

ZapLogger Zapを利用してConsoleにロギングする

func NewZapLogger

func NewZapLogger(t string, n string) *ZapLogger

NewZapLogger Zap経由のログ出力を行うZapLoggerを生成

func (*ZapLogger) Log

func (z *ZapLogger) Log(o interface{}) (err error)

Log LogInfo with zap

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