-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a logging utility #92
Comments
@kylemac I may not be thinking straight on this, but I like the idea of a logger, though. Maybe with |
@kylemac ☝️ |
major slowness here - apologies. yeah you're right - because |
@kylemac Thinking about this again! Do you think we should tie this into the existing emitter? |
i'm sort of on the side of things that thinks it's not worth the effort right meow |
https://github.com/bevry/caterpillar may be of use |
i've run into a few different log uses cases and i feel like a simple console.log falls a little short. i'm thinking we implement these logging helpers:
utils.log.write
- a simple wrapper around console.log but with colored outpututils.log.queue
- a buffer of logged messages (probably displayed in a list) that logged only after the compilation is complete. think of these like post-install instructions. a use-case i've had is leaving a few different post-install messages like "don't forget to edit the keys in coveralls.yml" and "go to http://magnum.travis-ci.com to obtain your API key".The text was updated successfully, but these errors were encountered: