analytics

package
v0.0.0-...-cb74e61 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectorErrorData

func DetectorErrorData(detector string, err error) map[string]interface{}

DetectorErrorData creates analytics data that includes the platform and error

func LogError

func LogError(tag string, data map[string]interface{}, format string, v ...interface{})

LogError sends analytics log using log.RErrorf by setting the stepID. Used for errors, returned to the consumer.

func LogInfo

func LogInfo(tag string, data map[string]interface{}, format string, v ...interface{})

LogInfo sends analytics log using log.RInfof by setting the stepID. Used for internal errors (not returned to the consumer).

func LogWarn

func LogWarn(tag string, data map[string]interface{}, format string, v ...interface{})

LogWarn sends analytics log using log.RInfof by setting the stepID. Used for warnings, returned to the consumer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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