summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-09 19:07:39 +0200
committerKujtim Hoxha <[email protected]>2025-04-09 19:07:39 +0200
commitd39d52d95d6aaab67fb3a17efb9ed62cc290e72f (patch)
tree940bad6f0c847ceb213e5fc684b6d87cbf9d6996 /main.go
parent0d8d324ac6e640b95f4f2f62fd189399a959319a (diff)
downloadopencode-d39d52d95d6aaab67fb3a17efb9ed62cc290e72f.tar.gz
opencode-d39d52d95d6aaab67fb3a17efb9ed62cc290e72f.zip
finish logs page
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/main.go b/main.go
index cfd70f802..4bc8a22f0 100644
--- a/main.go
+++ b/main.go
@@ -1,21 +1,9 @@
package main
import (
- "log"
- "os"
-
"github.com/kujtimiihoxha/termai/cmd"
)
func main() {
- // Create a log file and make that the log output DEBUG
- // TODO: remove this on release
- logfile, err := os.OpenFile("debug.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o666)
- if err != nil {
- panic(err)
- }
-
- log.SetOutput(logfile)
-
cmd.Execute()
}