Function yapFunc
Output text lazily through scriptlike's echo logger. Does nothing if scriptlikeEcho and scriptlikeDryRun are both false.
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);
}
Prototype
void yapFunc(string funcName, T...)(
lazy T args
);
Authors
Nick Sabalausky
Copyright
Copyright (C) 2014-2017 Nick Sabalausky