Enter a function
Prints the formal parameter names and their respective argument values
Prints a message from within the function
Leaves a function
the function's symbol
the string-callable function to use for writing (by default this is a proxy to writeln(string)) the messages to
Usage of the FuncDebug mixin template using the default writer function which writes to standard output
void myFunc(int x, int y) { mixin FuncDebug!(myFunc); enter(true); say("Good day governor"); leave(); } myFunc(69, 420);
Function debugging mixin with the given function and the writer to use