Logs should be returned from an optional stream, if at all from the library. In the long run, this prevents logging getting in the way of test output or causing noise in server logs.
Adding to this, in cases where we do return debug/progress info, such as the CLI, let's log to stderr instead of stdout. Logging to stdout prevents us from piping data from the CLI in a valid format.
Logs should be returned from an optional stream, if at all from the library. In the long run, this prevents logging getting in the way of test output or causing noise in server logs.