Closed robmorgan closed 3 years ago
fetch currently writes directly to stdout and stderr, but we should use a proper logger. That way, we'd have log levels, logs would go to stderr, we could swap in a logger more easily that captures the output in tests, and so on.
fetch
stdout
stderr
Fixed in https://github.com/gruntwork-io/fetch/releases/tag/v0.4.0
fetch
currently writes directly tostdout
andstderr
, but we should use a proper logger. That way, we'd have log levels, logs would go tostderr
, we could swap in a logger more easily that captures the output in tests, and so on.