log

package
v0.0.0-...-0fdf8e3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldImpl

type FieldImpl interface {
	Field() (string, interface{})
}

func Field

func Field(key string, val interface{}) FieldImpl

type LogImpl

type LogImpl interface {
	Field(string, interface{}) LogImpl
	Fields(fields ...FieldImpl) LogImpl
	Sync()
	Errorf(string, ...interface{})
	Infof(string, ...interface{})
	Debugf(string, ...interface{})
	Error(string)
	Info(string)
	Debug(string)
	Panicf(string, ...interface{})
}

func DefaultLog

func DefaultLog() LogImpl

func NewLog

func NewLog(core zapcore.Core) LogImpl

Jump to

Keyboard shortcuts

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