Unstructured-IO / unstructured-js-client

A Typescript client for the Unstructured hosted API
MIT License
37 stars 10 forks source link

Disable logging? #106

Open Ziao opened 1 month ago

Ziao commented 1 month ago

Can you please add an option to set logging levels or to silence the library completely? It's liberally logging a lot of information with the only option being passing a custom Logger which satisfies your types. This is generally considered to be inappropriate behavior for libraries.

Thank you <3

awalker4 commented 1 month ago

Hi @Ziao , thanks for the feedback! Yes, things are very noisy right now, so we'll be revisiting our logging soon. I'll make sure this is exposed for the user to control as well.

Ziao commented 1 month ago

Awesome, thanks :)