Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use logger util for sphinx-tribes/utils #2258

Closed
Tracked by #2168
kevkevinpal opened this issue Dec 20, 2024 · 1 comment · Fixed by #2259
Closed
Tracked by #2168

Use logger util for sphinx-tribes/utils #2258

kevkevinpal opened this issue Dec 20, 2024 · 1 comment · Fixed by #2259
Assignees

Comments

@kevkevinpal
Copy link
Contributor

kevkevinpal commented Dec 20, 2024

Description

We want to replace in sphinx-tribes/utils where we use fmt.Print{f,ln}

grep -nri "fmt\.Print" ./utils/
./utils/helpers.go:18:          fmt.Println("Random token erorr ==", err)
./utils/helpers.go:27:          fmt.Println("could not parse string to uint")
./utils/helpers.go:38:          fmt.Println("could not parse string to uint")
./utils/helpers.go:49:          fmt.Println("Could not Decode Invoice", err)
./utils/helpers.go:61:          fmt.Println("Could not Decode Invoice", err)
./utils/helpers.go:86:          fmt.Println("Parse string to timestamp", err)
./utils/twitter.go:23:  // fmt.Println("tok", token)
./utils/workflow_processor.go:35:       fmt.Println("Processing with default handler")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants