log

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(msg string, fields map[string]interface{}, err error)

Log calls log handler

func SetHandler

func SetHandler(h Handler)

SetHandler sets log handler to use for stats debug and error logging

Types

type Handler

type Handler func(msg string, fields map[string]interface{}, err error)

Handler defines logger type to override stats debug and error logging

Jump to

Keyboard shortcuts

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