From 57b345596107799dea4a1266a92e6ddc2cb3c60d Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Sat, 23 Dec 2023 20:28:57 +0900 Subject: [PATCH] (feat) std out --- pkg/logger.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/logger.go b/pkg/logger.go index 858a60f..4213a69 100644 --- a/pkg/logger.go +++ b/pkg/logger.go @@ -12,14 +12,9 @@ var ( log *logrus.Logger ) -const ( - DEFAULT_LOG_FILE = "./logs/instachart.log" -) - func Logger() *logrus.Logger { once.Do(func() { fmt.Println("Logger initialized") - fmt.Println("Logging to file: ", DEFAULT_LOG_FILE) log = logrus.New() log.SetFormatter(&logrus.TextFormatter{ DisableColors: false,