v0.3.0
NOTES:
- The following Go modules, if used, must be also be updated when updating to this terraform-plugin-log version:
- terraform-plugin-framework: v0.6.0 or higher
- terraform-plugin-go: v0.8.0 or higher
- terraform-plugin-mux: v0.6.0 or higher
- terraform-plugin-sdk: v2.11.0 or higher
BREAKING CHANGES:
- tflog: The
Trace()
,Debug()
,Info()
,Warn()
, andError()
functions andSubsystem
equivalents now use...map[string]interface{}
as the final optional parameter, where thestring
is the structured logging key, rather than expecting matchedkey interface{}, value interface{}
pairs. If multiple maps contain the same key, the value is shallow merged. (#34) - tfsdklog: The
Trace()
,Debug()
,Info()
,Warn()
, andError()
functions andSubsystem
equivalents now use...map[string]interface{}
as the final optional parameter, where thestring
is the structured logging key, rather than expecting matchedkey interface{}, value interface{}
pairs. If multiple maps contain the same key, the value is shallow merged. (#34)
ENHANCEMENTS:
- tflog: Added
WithAdditionalLocationOffset
function, which allows implementations to adjust the location offset when using helper functions (#36) - tfsdklog: Added
WithAdditionalLocationOffset
function, which allows implementations to adjust the location offset when using helper functions (#36)
BUG FIXES:
- tfsdklog: Consolidated multiple invalid log level messages and added missing newline (#35)