zerolog

package
v0.0.0-...-5c3d8b3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 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