log

package
v0.0.38-alpha3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(ctx context.Context, event string)

Log logs an event by taking the context (grabs the viewer from it), event to log and logs event at current time @graphql logEvent Mutation TODO make event an enum eventually to make this even better

func Log2

func Log2(ctx context.Context, event string) error

Log2 logs an event by taking the context (grabs the viewer from it), event to log and logs event at current time having these 2 is to just show behavior difference when an error is returned vs not @graphql logEvent2 Mutation TODO make event an enum eventually to make this even better

Types

This section is empty.

Jump to

Keyboard shortcuts

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