Thread overview
[Issue 5329] New: Simple logging facility in the stdlib
Mar 05, 2013
Jose Garcia
December 07, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5329

           Summary: Simple logging facility in the stdlib
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: ibisbasenji@gmail.com


--- Comment #0 from Christopher Nicholson-Sauls <ibisbasenji@gmail.com> 2010-12-07 03:27:27 PST ---
Created an attachment (id=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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 11, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5329


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #1 from bearophile_hugs@eml.cc 2010-12-11 00:01:34 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 11, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5329



--- Comment #2 from Christopher Nicholson-Sauls <ibisbasenji@gmail.com> 2010-12-11 00:57:42 PST ---
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'.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 09, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5329


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5329



--- Comment #3 from Andrei Alexandrescu <andrei@erdani.com> 2013-03-04 15:26:08 PST ---
Reassigning to Jose Armando Garcia.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5329



--- Comment #4 from Andrei Alexandrescu <andrei@erdani.com> 2013-03-04 15:30:12 PST ---
Pasting a comment from Issue 5000: See discussion "Logger for D Design Doc" on digitalmars.com. I'll mark Issue 5000 as a duplicate.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5329



--- Comment #5 from Andrei Alexandrescu <andrei@erdani.com> 2013-03-04 15:30:28 PST ---
*** Issue 5000 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 05, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5329



--- Comment #6 from Jose Garcia <jsancio@gmail.com> 2013-03-04 17:43:48 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 05, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5329


Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW


--- Comment #7 from Andrei Alexandrescu <andrei@erdani.com> 2013-03-04 19:16:51 PST ---
Yes, we need someone with the time and inclination to take this to completion. Any takers, please let us know, proceed, and be bold.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------