debugutils

package
v0.0.0-20260602-8aba95a Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDebugOrHigher added in v0.16.0

func IsDebugOrHigher() bool

IsDebugOrHigher reports whether TF_LOG is set to DEBUG or TRACE (case-insensitive). Unrecognized non-empty TF_LOG values are treated as TRACE, matching terraform-plugin-sdk/v2/helper/logging.IsDebugOrHigher SDK compatibility behavior.

func IsSensitiveInSchema added in v0.16.0

func IsSensitiveInSchema() bool

IsSensitiveInSchema reports whether integration-policy variable attributes should be marked sensitive in the resource schema (masked unless debug logging or acceptance tests).

func NewDebugTransport

func NewDebugTransport(name string, transport http.RoundTripper) http.RoundTripper

func PrettyPrintJSONLines

func PrettyPrintJSONLines(b []byte) string

PrettyPrintJSONLines iterates through a []byte line-by-line, transforming any lines that are complete json into pretty-printed json.

Types

This section is empty.

Jump to

Keyboard shortcuts

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