oracle/oci-typescript-sdk

Defer from using console related functions(eg: log, warn or error)

Opened this issue · 1 comments

If I may suggest, drop the use of console related logs and add no-console eslint rule to the project. Use the logger that you already have. Make use of debug logging concept not the intrusive way.

One justifiable reason for this is, our implementors usually don't care the details we have in those console.logs/error/warn. If ever they care about it, they can turn on the debugging so that they will see these. Second, which I am currently facing, I am creating a cli prompt for the user, and the known errors like not found bucket distract the user experience.

@joeOracle thanks for reporting - we'll investigate