slogstackdriver

package
Version: v2.0.2-0...-0d99925 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package slogstackdriver contains the slogger for google cloud's stackdriver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Make

func Make(ctx context.Context, w io.Writer) slog.SinkContext

Make creates a slog.logger configured to write JSON logs to stdout for stackdriver.

See https://cloud.google.com/logging/docs/agent

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto