if log file name is "-", print to stdout instead
if log file name is "-", print to stdout instead

This is mostly to support logging TAP to stdout instead of
to a file. However, this is made more general and applies
to all log output types.

tarruda/check,tarruda/check,tarruda/check,tarruda/check,tarruda/check