summaryrefslogtreecommitdiff
path: root/output.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 01:23:43 -0600
committerJeff Carr <[email protected]>2024-11-07 01:23:43 -0600
commitef61eb494b42a7bc226de1edc114579ce530abdd (patch)
tree0bd23b52a8aae23806d8cdc9896936c39cd07728 /output.go
parent2b11a4e334f465aef868d6c1bf3f1a7c9dfd5c27 (diff)
try allowing switching to writing to httpv0.22.2
Diffstat (limited to 'output.go')
-rw-r--r--output.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/output.go b/output.go
index 4982f0d..4d8eeff 100644
--- a/output.go
+++ b/output.go
@@ -4,14 +4,14 @@
package log
-import (
- "os"
+import (
golanglog "log"
+ "os"
)
// start writing all the logging to a tmp file
func SetTmpOLD() {
- f, err := os.OpenFile("/tmp/guilogfile", os.O_RDWR | os.O_CREATE | os.O_APPEND, 0666)
+ f, err := os.OpenFile("/tmp/guilogfile", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
if err != nil {
realFatalf("error opening file: %v", err)
}