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

2019-08-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1781

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |INVALID

--


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

2010-05-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1781


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #1 from bearophile_h...@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: ---