Function yapFunc

Output text lazily through scriptlike's echo logger. Does nothing if scriptlikeEcho and scriptlikeDryRun are both false.

void yapFunc(string funcName = __FUNCTION__, T...) (
  lazy T args
);

The yapFunc version automatically prepends the output with the name of the calling function. Ex:

void foo(int i = 42) {
	// Outputs:
	// foo: i = 42
	yapFunc("i = ", i);
}