Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Set default log level to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Mar 16, 2021
1 parent 6658ec4 commit 16aa8dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/teler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ package main
import (
"runtime"

"github.com/projectdiscovery/gologger"
"github.com/projectdiscovery/gologger/levels"
"ktbs.dev/teler/internal/runner"
)

func init() {
cpu := runtime.NumCPU()
runtime.GOMAXPROCS(cpu + 1)
gologger.DefaultLogger.SetMaxLevel(levels.LevelDebug)
}

func main() {
Expand Down

0 comments on commit 16aa8dd

Please sign in to comment.