pulumi/sdk/go/common
Fraser Waters 8d7e8c44cf Fix V logging to also filter out secrets
We use a small logging wrapper around glog for most of our logging. The
global Errorf/Warningf/Infof methods in that module format the string
and args passed in then filter out any secrets before calling into glog
with the final string.

The wrapper also exposed a `V` method to only log if verbosity was set,
but that directly returned a glog.Verbose which mean the Infof calls to
that didn't run our secret filtering code.

This changes the logging wrapper to return a `VerboseShim` (Not a great
name, but `Verbose` was already taken in this module) which is simply a
new type over `glog.Verbose` with the same methods but it calls
`FilterString` on the inputs.

Technically a breaking change, but I think the uses of this will be
source compatible.
2023-02-07 22:22:22 +00:00
..
apitype Add resource count to update info struct 2023-01-23 15:30:45 -08:00
constant Send update metadata about update plans 2022-10-12 22:55:59 +01:00
diag [color] Use graphemes to measure strings. 2022-11-09 08:23:00 -08:00
display Moving previewDigest to sdk/go/common/display, and exporting it. (#9886) 2022-06-27 09:08:06 -05:00
encoding all: Drop ioutil 2023-01-06 16:35:14 -08:00
env Handle recursive types 2023-01-13 11:28:13 -08:00
resource sdk/go/common/resource/config cleanup 2023-02-02 16:09:04 +00:00
testing all: Drop ioutil 2023-01-06 16:35:14 -08:00
tokens Revert "Support projects in the file state backend" 2023-02-02 15:26:26 -08:00
tools Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
util Fix V logging to also filter out secrets 2023-02-07 22:22:22 +00:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace Add `--insecure` flag to `pulumi login` 2023-02-03 16:09:37 -08:00