Variable scriptlikeCustomEcho

By default, scriptlikeEcho and scriptlikeDryRun echo to stdout. You can override this behavior by setting scriptlikeCustomEcho to your own sink delegate. Since this is used for logging, don't forget to flush your output.

Reset this to null to go back to Scriptlike's default of "echo to stdout" again.

Note, setting this does not automatically enable echoing. You still need to set either scriptlikeEcho or scriptlikeDryRun to true.

Declaration

void delegate(string) scriptlikeCustomEcho;

Authors

Nick Sabalausky

Copyright

Copyright (C) 2014-2016 Nick Sabalausky

License

zlib/libpng