Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Noisy source map logging #39

Open
AdamFrey opened this issue Feb 18, 2016 · 4 comments
Open

Noisy source map logging #39

AdamFrey opened this issue Feb 18, 2016 · 4 comments

Comments

@AdamFrey
Copy link

Thanks for the great work you've done with source maps!

I noticed that get almost a full screens worth of "Generating sourcemap for ..." messages. I've been doing a lot of scrolling to see my debug logging statements in development. Do you think it's a good idea to condense the source map logs down into one log line?

@mjmeintjes
Copy link
Owner

Agreed - was planning to add a verbose flag, but never got around to it. Will probably just comment out the logging for now.

@pesterhazy
Copy link
Collaborator

In the same vein, Writing cljs-template to shim_browser_repl_bootstrap.cljs and the like are not actually interesting to user. Plus it's not a place that is likely to break.

How about using util/dbug for these messages? https://github.com/boot-clj/boot/blob/master/doc/boot.util.md#dbug

@mjmeintjes
Copy link
Owner

Agreed - I think logging needs a proper cleanup anyway, as lots of the messages are only there for development purposes and should be removed/moved to verbose logging.

@aiba
Copy link

aiba commented Mar 3, 2016

+1 to moving these log lines behind a verbose flag

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants