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:

1 void foo(int i = 42) {
2 	// Outputs:
3 	// foo: i = 42
4 	yapFunc("i = ", i);
5 }
  1. void yap(lazy T args)
  2. void yapFunc(lazy T args)
    void
    yapFunc
    (
    string funcName = __FUNCTION__
    T...
    )
    (
    lazy T args
    )

Meta