yap

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)
    void
    yap
    (
    T...
    )
    (
    lazy T args
    )
  2. void yapFunc(lazy T args)

Meta