faking a C logging macro

Tydr Schnubbis fake at address.dude
Thu Apr 20 14:32:39 PDT 2006


Can I get something like this in D, using mixins or whatever?

#define log(s) logprintf(__FILE__ ": " __FUNCTION__ ": %s", s)



More information about the Digitalmars-d-learn mailing list