rwxrob-dot/scripts/gologtestoutput
2022-03-09 23:22:33 -05:00

10 lines
172 B
Bash
Executable File

#!/usr/bin/env bash
echo '
// adjust log output for testing
log.SetOutput(os.Stdout)
log.SetFlags(0)
defer log.SetOutput(os.Stderr)
defer log.SetFlags(log.Flags())
'