shodan
shodan copied to clipboard
Allow for compiling out log statements
It would be useful to have log levels and means to disable or enable log statements in specific namespaces.
I would see this as a compile time feature - what do you think?
I actually started on a concept like this a little while ago but I never finished fleshing it out. The idea was to enable creation of custom console loggers via protocols. I'd like to finish it up but I just haven't had the time to get to it!
Sounds good.
Thinking out loud, Perhaps there are other useful possibilities for extension of log types, including production logging.
Log back to a server Log to local storage - to periodically batch back to server perhaps for sometimes offline apps.
Yes. These are all ideas that have come to mind and have been implemented in various independent ways. I think getting a core set of protocols to unify the generic concepts would make it a heck of a lot easier to do different things in much the same way.
+1, for both compiling out logs and adding custom loggers (for remote logging etc)!
Thanks for great the library btw.