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

Adding details to the spinner message #14

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Adding details to the spinner message #14

merged 1 commit into from
Aug 10, 2023

Conversation

dwertent
Copy link
Collaborator

@dwertent dwertent commented Aug 10, 2023

  • The spinner will print the IDetailed messages
  • Updating printers emojis

Signed-off-by: David Wertenteil <dwertent@armosec.io>
@matthyx matthyx merged commit 4b73283 into main Aug 10, 2023
4 checks passed
@matthyx matthyx deleted the logger-message branch August 10, 2023 14:02
@@ -103,12 +100,19 @@ func getSymbol(level string) string {
case "warning":
return "❗ "
case "success":
return "✔️ "
return " "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has two spaces after

default:
return "〜 "
return "ℹ️ "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renders no spaces after

Screenshot 2023-08-11 at 3 08 34 PM

because it's a double width character and OS X terminal is dumb.

let's see how Minikube does this, and probably put a space before all the emoji to ensure we get this right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants