internal

package
v2.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package internal provides some common logic and types to other logging sub-packages.

Index

Constants

View Source
const (
	// LoggingLevelEnvVar is the environment variable used to enable logging
	// at a particular level.
	LoggingLevelEnvVar = "GOOGLE_SDK_GO_LOGGING_LEVEL"
)

Variables

This section is empty.

Functions

func NewLoggerWithWriter

func NewLoggerWithWriter(w io.Writer) *slog.Logger

NewLoggerWithWriter is exposed for testing.

Types

This section is empty.

Directories

Path Synopsis
Package logtest is a helper for validating logging tests.
Package logtest is a helper for validating logging tests.

Jump to

Keyboard shortcuts

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