zaplogger

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLevel

func SetLevel(level logging.LogLevel)

Types

type ZapLogger

type ZapLogger struct {
}

func (*ZapLogger) Debug

func (logger *ZapLogger) Debug(template string, args ...interface{})

func (*ZapLogger) Enable

func (logger *ZapLogger) Enable(level logging.LogLevel) bool

func (*ZapLogger) Error

func (logger *ZapLogger) Error(template string, args ...interface{})

func (*ZapLogger) Fatal

func (logger *ZapLogger) Fatal(template string, args ...interface{})

func (*ZapLogger) Info

func (logger *ZapLogger) Info(template string, args ...interface{})

func (*ZapLogger) Panic

func (logger *ZapLogger) Panic(template string, args ...interface{})

func (*ZapLogger) SetLevel

func (logger *ZapLogger) SetLevel(level logging.LogLevel)

func (*ZapLogger) Warn

func (logger *ZapLogger) Warn(template string, args ...interface{})

Jump to

Keyboard shortcuts

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