Does anyone have a package to recommend for logging? Or is there already something built into Atom for this?
Specifically, I want to have the option to log a lot of stuff, so I don’t want to write it all via
console.log() (that’s obnoxious for other package developers). I would rather write out my logs to a file that can be included with bug reports. It would be nice if the logger supported the same format strings that the Chrome console API does, as well as the ability to set a logging level for different namespaces like in Java.
There’s also the issue of configuring the logger. Assuming I have multiple packages that want to share the same logging infrastructure, how would I do that? Last I checked, the order of activation order for Atom packages cannot be controlled, so I’m not convinced that I can ensure that my logger is configured in one package before it is used in another.
Thanks for any suggestions!