log

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncidentToEntry

func IncidentToEntry(incident models.Incident) *logrus.Entry

Types

type Log

type Log struct {
}

func (Log) Creator

func (n Log) Creator(params map[string]interface{}, baseInfo config.BaseInfo) (notifiers.Notifier, error)

func (Log) Id

func (n Log) Id() string

func (Log) Name

func (n Log) Name() string

func (Log) Notify

func (n Log) Notify(incident models.Incident) error

func (Log) NotifySubscriber

func (n Log) NotifySubscriber(incident models.Incident, subscriber []string) error

Jump to

Keyboard shortcuts

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