diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-09 19:19:45 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-09 19:19:45 +0200 |
| commit | 2af1bbb82852ebebb59ef431e5362c0f3993e5a0 (patch) | |
| tree | cf20e499c14fb4fd6c1e56c99adc35626faead9c /main.go | |
| parent | b12ca55594c4a4c5cc0e81971df719a382f1f344 (diff) | |
| parent | 635324d386d52e117efea6fcbe9dbf306ec75653 (diff) | |
| download | opencode-2af1bbb82852ebebb59ef431e5362c0f3993e5a0.tar.gz opencode-2af1bbb82852ebebb59ef431e5362c0f3993e5a0.zip | |
Merge pull request #25 from kujtimiihoxha/cleanup-logs-status
Cleanup Logs and Status
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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() } |
