[Issue 12482] New: Add a standard logging module

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 27 13:54:53 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12482

           Summary: Add a standard logging module
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: jbinero at gmail.com


--- Comment #0 from Jeroen Bollen <jbinero at gmail.com> 2014-03-27 13:54:46 PDT ---
There should be some kind of logging utility part of Phobos. I know there used
to be one and it has been removed, but it doesn't have to be as complex as that
one. There should just be an alternative to the standard output which allows
you to set a log level and add listeners. 

I was thinking of maybe a Object Oriented class that basically works as a
plugin server, and when you log a message to it it'll call all its listeners
(listening to that log level) which then log the message. This'd provide a
minimal structure, easy to maintain, yet very flexible / expandable and easy in
use.

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


More information about the Digitalmars-d-bugs mailing list