error

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProcessor

func NewProcessor(config *pr.Config) pr.Processor

func Schema

func Schema() string

Types

type Event

type Event struct {
	Id          *string
	Culprit     *string
	Context     common.MapStr
	Exception   *Exception
	Log         *Log
	Timestamp   time.Time
	Transaction *struct {
		Id string
	}
	// contains filtered or unexported fields
}

func (*Event) DocType

func (e *Event) DocType() string

func (*Event) Mappings

func (e *Event) Mappings(config *pr.Config, pa *payload) (time.Time, []utility.DocMapping)

func (*Event) Transform

func (e *Event) Transform(config *pr.Config, service m.Service) common.MapStr

type Exception

type Exception struct {
	Code       interface{}
	Message    string
	Module     *string
	Attributes interface{}
	Stacktrace m.Stacktrace `mapstructure:"stacktrace"`
	Type       *string
	Handled    *bool
}

type Log

type Log struct {
	Level        *string
	Message      string
	ParamMessage *string      `mapstructure:"param_message"`
	LoggerName   *string      `mapstructure:"logger_name"`
	Stacktrace   m.Stacktrace `mapstructure:"stacktrace"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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