Analyze debug condition in template

novice2 sorry at noem.ail
Tue Oct 26 15:39:47 UTC 2021


On Tuesday, 26 October 2021 at 09:44:42 UTC, Kagamin wrote:
> `debug(func1)writefln(...)`
> But specify a global debug version for the compiler:
> `dmd -debug=func1 app.d`

i want to eliminate "debug(func1)"
i want to be able on/off debugging for one function or another,
and logf() template should "understand", those on/off for caller


More information about the Digitalmars-d-learn mailing list