terraform-provider-gitea/vendor/github.com/hashicorp/terraform-plugin-go/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

23 lines
904 B
Go

package logging
// Environment variables.
const (
// EnvTfLogProvider is the prefix of the environment variable that sets the
// logging level of the root provider logger for the provider being served.
// The suffix is an underscore and the parsed provider name. For example,
// registry.terraform.io/hashicorp/example becomes TF_LOG_PROVIDER_EXAMPLE.
EnvTfLogProvider = "TF_LOG_PROVIDER"
// EnvTfLogSdk is an environment variable that sets the root logging level
// of SDK loggers.
EnvTfLogSdk = "TF_LOG_SDK"
// EnvTfLogSdkProto is an environment variable that sets the logging level
// of SDK protocol loggers. Infers root SDK logging level, if unset.
EnvTfLogSdkProto = "TF_LOG_SDK_PROTO"
// EnvTfLogSdkProtoDataDir is an environment variable that sets the
// directory to write raw protocol data files for debugging purposes.
EnvTfLogSdkProtoDataDir = "TF_LOG_SDK_PROTO_DATA_DIR"
)