zeitgeistpm / tools

JavaScript libraries and tools for the Zeitgeist network.
8 stars 3 forks source link

console.log "debug" message in published package #224

Open Tomen opened 2 years ago

Tomen commented 2 years ago

While working with the published module, I get console log messages that are pulluting my console with irrelevant information

My specific annoyance comes from the packages/sdk/src/models/market.ts file, but I see that several incidences of this are spread throughout the code:

https://github.com/zeitgeistpm/tools/search?q=console.log&type=code

I think the default for a published package shouldn't be that they are pulluting the log. Maybe there is a way to turn them off via a toggle? Else emitting them as debug might be the better option.