stackdriver

package
v0.0.0-...-519d24f Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTraceID

func GetTraceID(ctx context.Context) string

GetTraceID returns a trace identifier in the context

func LogLevelToSeverity

func LogLevelToSeverity(l xlog.Level) logging.Severity

LogLevelToSeverity converts xlog.Level to logging.Severity

func LogLevelToSeverityString

func LogLevelToSeverityString(l xlog.Level) string

LogLevelToSeverityString converts xlog.Level to logging.Severity string

Types

This section is empty.

Jump to

Keyboard shortcuts

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