Closed nareddyt closed 6 years ago
For our chrome extension's core code, we want to enable all logging when in development but only log errors when in production.
Currently, we just comment out most log lines before shipping to prod.
NEVER
Chrome's console allows us to filter by log level automatically. We should just log as much as we can. When viewing the logs, we can just filter in the console to get a cleaner view.
For our chrome extension's core code, we want to enable all logging when in development but only log errors when in production.
Currently, we just comment out most log lines before shipping to prod.