__FUNCTION__?

Vladimir Panteleev vladimir at thecybershadow.net
Mon Feb 25 08:54:10 PST 2013


On Monday, 25 February 2013 at 16:32:50 UTC, js.mdnq wrote:
> We have __FILE__ and __LINE__. Is there a __FUNCTION__ that 
> gives the current function name? This helps with errors.

Have a look here:

http://wiki.dlang.org/Using_string_mixins_for_logging


More information about the Digitalmars-d-learn mailing list