applog

package module
v0.0.0-...-fd44a64 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const LOGNAME string = "microservices-demo"

Variables

This section is empty.

Functions

func Close

func Close()

Close and flush the logging client

func Errorf

func Errorf(ctx context.Context, format string, v ...interface{})

Log an error with the given context, may include trace and span

func Fatalf

func Fatalf(ctx context.Context, format string, v ...interface{})

Log a fatal error with the given context, may include trace and span

func Initialize

func Initialize(projId string)

Initialize the Cloud Logging client

func Printf

func Printf(ctx context.Context, format string, v ...interface{})

Send to Cloud Logging service including reference to current span

Types

This section is empty.

Jump to

Keyboard shortcuts

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