Skip to content

Commit

Permalink
(feat) std out
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Dec 23, 2023
1 parent 29e9d49 commit 57b3455
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 57b3455

Please sign in to comment.