zerolog

package
v0.0.0-...-faa3d42 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZLog

type ZLog struct {
	// contains filtered or unexported fields
}

ZLog represents zerolog logger

func New

func New() *ZLog

New instantiates new zero logger

func (*ZLog) Log

func (z *ZLog) Log(ctx context.Context, source, msg string, err error, params map[string]interface{})

Log logs using zerolog

Jump to

Keyboard shortcuts

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