terraform-provider-gitea/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/internal/logging/environment_variables.go
Tobias Trabelsi e1266ebf64
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build encountered an error
updated GHA
Update to v2 SDK
updated dependencies
2022-08-06 16:21:18 +02:00

25 lines
986 B
Go

package logging
// Environment variables.
const (
// EnvTfLogSdk is an environment variable that sets the logging level of
// the root SDK logger, while the provider is under test. In "production"
// usage, this environment variable is handled by terraform-plugin-go.
//
// Terraform CLI's logging must be explicitly turned on before this
// environment varable can be used to reduce the SDK logging levels. It
// cannot be used to show only SDK logging unless all other logging levels
// are turned off.
EnvTfLogSdk = "TF_LOG_SDK"
// EnvTfLogSdkHelperResource is an environment variable that sets the logging
// level of SDK helper/resource loggers. Infers root SDK logging level, if
// unset.
EnvTfLogSdkHelperResource = "TF_LOG_SDK_HELPER_RESOURCE"
// EnvTfLogSdkHelperSchema is an environment variable that sets the logging
// level of SDK helper/schema loggers. Infers root SDK logging level, if
// unset.
EnvTfLogSdkHelperSchema = "TF_LOG_SDK_HELPER_SCHEMA"
)