eventd

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ServiceName      = "EVENTD"
	DefaultVerbosity = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Verbosity

type Verbosity bool

func V

func V(eventVerbosity int32) Verbosity

V generates a Verbosity boolean to determine whether an event should be logged based off of the provided verbosity and the configured verbosity.

func (Verbosity) Log

func (v Verbosity) Log(request *protos.Event) error

Log sends an event to eventd if the event's Verbosity is true.

Jump to

Keyboard shortcuts

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