Open Download opened 5 years ago
Hi Stijn, That is so cool that we though of the same name, ha ha. I had a quick look at your project and it looks awesome. I defiantly get the initiative behind such facade with such a low wight! My initiative was different, I meant to solve your every logging needs by enabling the most common use cases and allowing customizations for flexibility. I am always up for collaboration and would be happy if we can create something here. Regarding your suggestions, I do think both versions can maybe live under the same umbrella to solve different use cases. Most of our API's are very similar, so with minor changes maybe we can align them (plugin = adapter, logging levels and functions are the same...). Not sure if it is very useful (I think a user would only use one of the versions depends on the use case), but even just to gain traffic it can be good :)
Tell me what you think.
Regards, Guy.
Hi Guy, Yes I would like to collaborate. I tried to come up with a small but flexible API for anylogger that could fit well / adapt to most loggers out there.
I am planning for v2 of my library ulog to make it depend on anylogger
and make it compatible with anylogger
out of the box. That way, the total overhead of using anylogger
+ ulog
would be minimal and you would not need an adapter. Native support so to say. Maybe I can try to whip up something similar for any-logger
as a PR. It will have to wait a while though because I am pretty busy atm.
But this logging library hobby of mine has been going on for a few years already so we will get there at some point :)
Hi Guy,
Ok, so I am not sure how this is possible, but it seems you and I have both chosen the same name for a Javascript logging package. Wow! Unbelievable that I missed your project. I did not yet dive into the code but that is now definitely on my to-do list :)
I have the NPM package name anylogger. My project is different from yours in the way that my project is intended as a logging facade. I am the author of ulog, the microscopically small universal logger, but I thought that ~1.1kB and rising due to new features was getting too big :) I needed a way to make the dependency even smaller, while still enabling lots more features. I see you have been doing something along those lines as well with a small and large version of your library.
The idea behind anylogger (my version) is that it would be the smallest dependency I could make that would support ulog and hopefully most other loggers out there via adapters. Please have a look and give me some feedback through the issue tracker on my anylogger github repo. I am thinking that maybe we could merge our projects somehow. We could have anylogger, the logging facade, weighing in at < 0.5kB, and additional projects
anylogger-full
and/oranylogger-basic
or something like that. You could maybe replace your minimal version of the library with an adapter for anylogger the logging facade. Your library would be the default for people that come into contact with anylogger via other libraries (the main intended audience for anylogger).I would love to hear your thoughts on this subject.
With kind regards,
-Stijn