logging

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigExposureEvent = "statsig::config_exposure"
View Source
const GateExposureEvent = "statsig::gate_exposure"
View Source
const MaxEvents = 500

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func New

func New(net *net.Net) *Logger

func (*Logger) Flush

func (l *Logger) Flush(closing bool)

func (*Logger) Log

func (l *Logger) Log(evt types.StatsigEvent)

func (*Logger) LogConfigExposure

func (l *Logger) LogConfigExposure(
	user types.StatsigUser,
	configName string,
	ruleID string,
)

func (*Logger) LogGateExposure

func (l *Logger) LogGateExposure(
	user types.StatsigUser,
	gateName string,
	value bool,
	ruleID string,
)

Jump to

Keyboard shortcuts

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