terraform-plugin-log

module
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2022 License: MPL-2.0

README

PkgGoDev

terraform-plugin-log

terraform-plugin-log is a helper module for logging from Terraform providers. It uses RPC-specific loggers to attach context and information to logs, and has multiple loggers to allow filtering of log output, making finding what you're looking for easier. It is a small wrapper on top of go-hclog, adding some conventions and reframing things for Terraform plugin developers.

Go Compatibility

This project follows the support policy of Go as its support policy. The two latest major releases of Go are supported by the project.

Currently, that means Go 1.17 or later must be used when including this project as a dependency.

Contributing

See .github/CONTRIBUTING.md

License

Mozilla Public License v2.0

Directories

Path Synopsis
internal
Package tflog provides helper functions for writing log output and creating loggers for Terraform plugins.
Package tflog provides helper functions for writing log output and creating loggers for Terraform plugins.
Package tflogtest provides functionality for unit testing of provider logging.
Package tflogtest provides functionality for unit testing of provider logging.
Package tfsdklog provides helper functions for logging from SDKs and frameworks for building Terraform plugins.
Package tfsdklog provides helper functions for logging from SDKs and frameworks for building Terraform plugins.
Package tfsdklogtest provides functionality for unit testing of SDK logging.
Package tfsdklogtest provides functionality for unit testing of SDK logging.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL