Scriptln receives a function f which executes something and returns some values as a slice of empty interfaces.
If logging is disabled, f is not executed.
SetOutput enables logging that writes out logs to w.
Note that SetOutput works only once. To perform SetOutput again, it is necessary to call Reset before it.