logs

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package logs contains all structured log events for the service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProducerFailure

type ProducerFailure struct {
	Message string `logevent:"message,default=producer-failure"`
	Reason  string `logevent:"reason"`
}

ProducerFailure is logged when the producer fails to put a scan on the queue.

type ScanFetcherFailure

type ScanFetcherFailure struct {
	Message string `logevent:"message,default=scan-fetcher-error"`
	Reason  string `logevent:"reason"`
}

ScanFetcherFailure is logged when there is a failure with the scan fetcher dependency.

type StorageFailure

type StorageFailure struct {
	Message string `logevent:"message,default=storage-failure"`
	Reason  string `logevent:"reason"`
}

StorageFailure is logged when there is a failure with the storage layer.

Jump to

Keyboard shortcuts

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