diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-09 19:07:39 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-09 19:07:39 +0200 |
| commit | d39d52d95d6aaab67fb3a17efb9ed62cc290e72f (patch) | |
| tree | 940bad6f0c847ceb213e5fc684b6d87cbf9d6996 /main.go | |
| parent | 0d8d324ac6e640b95f4f2f62fd189399a959319a (diff) | |
| download | opencode-d39d52d95d6aaab67fb3a17efb9ed62cc290e72f.tar.gz opencode-d39d52d95d6aaab67fb3a17efb9ed62cc290e72f.zip | |
finish logs page
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() } |
