mirror of
https://github.com/rwxrob/dot
synced 2024-11-16 21:25:29 +00:00
Add gologtestoutput
This commit is contained in:
parent
c2a0b84a05
commit
06b9a0665f
9
scripts/gologtestoutput
Executable file
9
scripts/gologtestoutput
Executable file
@ -0,0 +1,9 @@
|
||||
#!/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())
|
||||
'
|
Loading…
Reference in New Issue
Block a user