-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve log in cmd service dev #413
Conversation
cmd/service/dev.go
Outdated
} | ||
} | ||
|
||
func formatJSON(data string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to utils?
Missing docs.
s/formatJSON/colorJSON/ ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In which utils your suggest to move it? service/utils
? cmd/utils
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmd/utils
Pls use logrus. Let's keep only one logging package in the app. |
We will continue to use logrus for log in the core/daemon. I switch back to log in the command I remember we agree that CLI (cmds) will not use logrus. |
Modification done, @mesg-foundation/core please review |
In command service dev: