log

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tag = "vic-cloud"

Tag is the log tag sent to __android_log_print on android builds

Functions

func Das

func Das(event string, fields *DasFields)

Das logs a DAS event with the given event name and extra data fields.

func DasEmpty

func DasEmpty(event string)

DasEmpty logs a DAS event with only the given event name, and no extra data.

func Errorf

func Errorf(format string, a ...interface{}) (int, error)

func Errorln

func Errorln(a ...interface{}) (int, error)

func IfVicos

func IfVicos(a ...interface{}) (int, error)

func Printf

func Printf(format string, a ...interface{}) (int, error)

func Println

func Println(a ...interface{}) (int, error)

Types

type DasFields

type DasFields struct {
	Strings [4]string
	Ints    [4]string
}

DasFields contains the data that can be associated with an event. An event can store... - up to 4 strings in the Strings member - up to 4 integers in the Ints member There is no requirement that these be filled, and each event can define the meaning of these data fields as it wishes.

func (*DasFields) SetInts

func (f *DasFields) SetInts(ints ...int) *DasFields

SetInts fills the Ints member of this DasFields object with the supplied integers. Only up to 4 ints are copied.

func (*DasFields) SetStrings

func (f *DasFields) SetStrings(strs ...string) *DasFields

SetStrings fills the Strings member of this DasFields object with the supplied strings. Only up to 4 strings are copied.

Jump to

Keyboard shortcuts

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