This should ease usage of this library since otherwise it is too verbose for non-Terraform use cases.
With this change, logging can be controlled in 2 ways
environment variable (NITRO_LOG=TRACE|DEBUG|INFO|WARN|ERROR|OFF)
or client.setLogLevel("<value")
Default is OFF.
All logs have been changed to use the Key,value format of hclog.
We can even turn on JSON logging using hclog
This should ease usage of this library since otherwise it is too verbose for non-Terraform use cases. With this change, logging can be controlled in 2 ways environment variable (NITRO_LOG=TRACE|DEBUG|INFO|WARN|ERROR|OFF) or client.setLogLevel("<value") Default is OFF. All logs have been changed to use the Key,value format of hclog. We can even turn on JSON logging using hclog