diff options
| -rw-r--r-- | output.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -21,3 +21,9 @@ func SetTmp() { golanglog.SetOutput(f) golanglog.Println("This is a test log entry") } + +// start writing all the logging to a tmp file +func UnsetTmp() { + golanglog.SetOutput(os.Stdout) + golanglog.Println("This is a test log entry") +} |
