www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5329] New: Simple logging facility in the stdlib

reply d-bugmail puremagic.com writes:
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



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: -------
Dec 07 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329


bearophile_hugs eml.cc changed:

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



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: -------
Dec 11 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329




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: -------
Dec 11 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
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: -------
Jan 09 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329




PST ---
Reassigning to Jose Armando Garcia.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 04 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329




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: -------
Mar 04 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329




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: -------
Mar 04 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329




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: -------
Mar 04 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5329


Andrei Alexandrescu <andrei erdani.com> changed:

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



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: -------
Mar 04 2013