Function yap

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

void yap(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);
}