Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Mar 12:49
· 135 commits to main since this release

NOTES:

BREAKING CHANGES:

  • tflog: The Trace(), Debug(), Info(), Warn(), and Error() functions and Subsystem equivalents now use ...map[string]interface{} as the final optional parameter, where the string is the structured logging key, rather than expecting matched key interface{}, value interface{} pairs. If multiple maps contain the same key, the value is shallow merged. (#34)
  • tfsdklog: The Trace(), Debug(), Info(), Warn(), and Error() functions and Subsystem equivalents now use ...map[string]interface{} as the final optional parameter, where the string is the structured logging key, rather than expecting matched key 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)