errlog

package module
v0.0.0-...-4a6d3b9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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 ErrClient

type ErrClient struct {
	Client *errorreporting.Client
	Error  bool
}

ErrClient holds the newly generated error logging client, so that it can be used for our own, more simple custom logging functions instead of the ones the Google provides

func InitClient

func InitClient(service string) (ErrClient, error)

InitClient creates an error logging client

func (ErrClient) LogErr

func (c ErrClient) LogErr(req *http.Request, err error)

LogErr logs an err with Firebase

Jump to

Keyboard shortcuts

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