From d39d52d95d6aaab67fb3a17efb9ed62cc290e72f Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Wed, 9 Apr 2025 19:07:39 +0200 Subject: finish logs page --- main.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'main.go') 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() } -- cgit v1.2.3