apexlog

package
v5.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Gobrake         *gobrake.Notifier
	HandlerSeverity log.Level
}

Handler implementation.

func New

func New(notifier *gobrake.Notifier, level log.Level) *Handler

New returns a function that satisfies apex/log.Handler interface

func (*Handler) HandleLog

func (h *Handler) HandleLog(e *log.Entry) error

HandleLog method is used for sending notices to airbrake.

Jump to

Keyboard shortcuts

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