[Issue 1781] Conditional Compilation - debug ( Integer ) is to restrictive

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 12 03:01:53 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=1781


bearophile_hugs at eml.cc changed:

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


--- Comment #1 from bearophile_hugs at eml.cc 2010-05-12 03:01:50 PDT ---
There is also this syntax:
debug ( Identifier )

So you can use:
debug(MEDIUM)
    Logger.writeDebug("");

To be compiled with:
-debug=MEDIUM

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


More information about the Digitalmars-d-bugs mailing list