Closed giorgos-nikolopoulos closed 3 years ago
Hi @giorgos-nikolopoulos, @chiradeep
Wouldn't it be feasible to provide one (or two) parameters into the NitroClient?
The first parameter controls whether there is output to STDERR or the log, whereas the second parameter controls if the masked headers should be displayed.
This way, we can still activate the SDK output, but it cleans up the output by default. Let the application owner decide whether or not to allow Println and other output.
Edit:
@jantytgat it is a good idea. Originally this library was used for the terraform driver exclusively. TF continues to use the built-in log facility (like this library does). Any change to the logging requires some more investigation and testing to make sure that the TF driver remains debuggable.
LGTM
Fixes #46