Created attachment 841
draft proposal source for std.log
It would be convenient (not to mention plain old useful) if Phobos provided a
simple and nice logging library. And, feeling in good spirits, I took a quick
crack at an initial implementation. Find it in the attachment, along with
pre-generated documentation page.
Comment #1 by bearophile_hugs — 2010-12-11T00:01:34Z
I suggest to avoid too much short and confusing names like "log" for std lib modules. So I suggest to name this "logging" or something similar.
Also keep in mind that it may eventually become obsolete, so a second module name may be needed later (as happened for the std.regex module). Think ahead.
Comment #2 by ibisbasenji — 2010-12-11T00:57:42Z
If it's renamed to 'std.logging' then the obvious alternate-name for a future replacement would be 'std.logger' -- or vice versa. At any rate, I'll concede that either of those is better than just 'log'.
Comment #3 by andrei — 2013-03-04T15:26:08Z
Reassigning to Jose Armando Garcia.
Comment #4 by andrei — 2013-03-04T15:30:12Z
Pasting a comment from Issue 5000: See discussion "Logger for D Design Doc" on digitalmars.com. I'll mark Issue 5000 as a duplicate.
Comment #5 by andrei — 2013-03-04T15:30:28Z
*** Issue 5000 has been marked as a duplicate of this issue. ***
Comment #6 by jsancio — 2013-03-04T17:43:48Z
The latest implementation is at the github repository https://github.com/jsancio/log.d
Some of the issues discussed during the review process are listed at https://github.com/jsancio/log.d/issues
It has been a while since I played around with D and std.log. I would really like to bring this module back to life but I can't promise anything. If anyone is interested in cleaning it up to include it in Phobos, I think you can just clone the repository.
The std.log on github should work with the latest release of Phobos and Druntime so anyone interested can just use it even if it is not yet part of Phobos.
Comment #7 by andrei — 2013-03-04T19:16:51Z
Yes, we need someone with the time and inclination to take this to completion. Any takers, please let us know, proceed, and be bold.