Package logging contains framework internal helpers for consistent logger and log entry handling.
const ( KeyAttributePath = "tf_attribute_path" KeyDataSourceType = "tf_data_source_type" KeyEphemeralResourceType = "tf_ephemeral_resource_type" KeyDeferredReason = "tf_deferred_reason" KeyDescription = "description" KeyError = "error" KeyFunctionName = "tf_function_name" KeyResourceType = "tf_resource_type" KeyValueType = "tf_value_type" )
Structured logging keys.
Practitioners or tooling reading logs may be depending on these keys, so be conscious of that when changing them.
Refer to the terraform-plugin-go logging keys as well, which should be equivalent to these when possible.
View Sourceconst ( EnvTfLogSdkFramework = "TF_LOG_SDK_FRAMEWORK" )
Environment variables.
This section is empty.
FrameworkDebug emits a framework subsystem log at DEBUG level.
FrameworkError emits a framework subsystem log at ERROR level.
FrameworkTrace emits a framework subsystem log at TRACE level.
FrameworkWarn emits a framework subsystem log at WARN level.
FrameworkWithAttributePath returns a new Context with KeyAttributePath set. The attribute path is expected to be string, so the logging package does not need to import path handling code.
InitContext creates SDK logger contexts. The incoming context will already have the root SDK logger and root provider logger setup from terraform-plugin-go tf6server RPC handlers.
This section is empty.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4