# Functions
ApplyLoggerOpts generates a LoggerOpts out of a list of Option implementations.
GetProviderRootLogger returns the root logger used for writing logs from a provider.
GetProviderRootLoggerOptions returns the root logger options used for creating the root provider logger.
GetProviderRootTFLoggerOpts retrieves the LoggerOpts of the provider root logger.
GetProviderSubsystemLogger returns the subsystem logger for the named subsystem in provider space.
GetProviderSubsystemTFLoggerOpts retrieves the LoggerOpts of the logger for the named provider subsystem.
GetSDKRootLogger returns the root logger used for writing logs from an SDK.
GetSDKRootLoggerOptions returns the root logger options used for creating the root SDK logger.
GetSDKRootTFLoggerOpts retrieves the LoggerOpts of the SDK root logger.
GetSDKSubsystemLogger returns the subsystem logger for the named subsystem in SDK space.
GetSDKSubsystemTFLoggerOpts retrieves the LoggerOpts of the logger for the named SDK subsystem.
GetSink returns the sink logger used for writing logs.
GetSinkOptions returns the root logger options used for creating the root SDK logger.
No description provided by the author
SetProviderRootLogger sets `logger` as the root logger used for writing logs from a provider.
SetProviderRootLoggerOptions sets `loggerOptions` as the root logger options used for creating the provider root logger.
SetProviderRootTFLoggerOpts sets the LoggerOpts of the provider root logger, in the context.
SetProviderSubsystemLogger sets `logger` as the logger for the named subsystem in provider space.
SetProviderSubsystemTFLoggerOpts sets the LoggerOpts of the logger for the named provider subsystem, in the context.
SetSDKRootLogger sets `logger` as the root logger used for writing logs from an SDK.
SetSDKRootLoggerOptions sets `loggerOptions` as the root logger options used for creating the SDK root logger.
SetSDKRootTFLoggerOpts sets the LoggerOpts of the SDK root logger, in the context.
SetSDKSubsystemLogger sets `logger` as the logger for the named subsystem in SDK space.
SetSDKSubsystemTFLoggerOpts sets the LoggerOpts of the logger for the named SDK subsystem, in the context.
SetSink sets `logger` as the sink logger used for writing logs.
SetSinkOptions sets `loggerOptions` as the root logger options used for creating the SDK root logger.
WithAdditionalLocationOffset sets the WithAdditionalLocationOffset configuration option, allowing implementations to fix location information when implementing helper functions.
WithField sets the provided key/value pair, onto the LoggerOpts.Fields field.
WithFields sets all the provided key/value pairs, onto the LoggerOpts.Fields field.
WithMaskAllFieldValuesRegexes appends keys to the LoggerOpts.MaskAllFieldValuesRegexes field.
WithMaskAllFieldValuesStrings appends keys to the LoggerOpts.MaskAllFieldValuesStrings field.
WithMaskFieldValuesWithFieldKeys appends keys to the LoggerOpts.MaskFieldValuesWithFieldKeys field.
WithMaskMessageRegexes appends *regexp.Regexp to the LoggerOpts.MaskMessageRegexes field.
WithMaskMessageStrings appends string to the LoggerOpts.MaskMessageStrings field.
WithOmitLogWithFieldKeys appends keys to the LoggerOpts.OmitLogWithFieldKeys field.
WithOmitLogWithMessageRegexes appends *regexp.Regexp to the LoggerOpts.OmitLogWithMessageRegexes field.
WithOmitLogWithMessageStrings appends string to the LoggerOpts.OmitLogWithMessageStrings field.
WithoutLocation disables the location included with logging statements.
WithOutput sets the Output configuration option, controlling where logs get written to.
WithoutTimestamp disables the timestamp included with logging statements.
WithRootFields enables the copying of root logger fields to a new subsystem logger during creation.
# Constants
DefaultProviderRootLoggerName is the default provider root logger name.
DefaultSDKRootLoggerName is the default SDK root logger name.
NewProviderSubsystemLoggerWarning is the text included in log output when a subsystem is auto-generated by terraform-plugin-log because it was used before the provider instantiated it.
NewSDKSubsystemLoggerWarning is the text included in log output when a subsystem is auto-generated by terraform-plugin-log because it was used before the SDK instantiated it.
ProviderRootLoggerKey is the loggerKey that will hold the root logger for writing logs from within provider code.
ProviderRootLoggerOptionsKey is the loggerKey that will hold the root logger options when the root provider logger is created.
SDKRootLoggerKey is the loggerKey that will hold the root logger for writing logs from with SDKs.
SDKRootLoggerOptionsKey is the loggerKey that will hold the root logger options when the SDK provider logger is created.
SinkKey is the loggerKey that will hold the logging sink used for test frameworks.
SinkOptionsKey is the loggerKey that will hold the sink logger options when the SDK provider logger is created.
TFLoggerOpts is the loggerKey that will hold the LoggerOpts associated with the provider root logger (at `provider.tf-logger-opts`), and the provider sub-system logger (at `provider.SUBSYSTEM.tf-logger-opts`), in the context.Context.
# Variables
Stderr caches the original os.Stderr when the process is started.
# Structs
LoggerOpts is a collection of configuration settings for loggers.
# Type aliases
Option defines a modification to the configuration for a logger.