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

Feature: investigate integrating gopherlogs into project #17

Open
2 tasks done
jpmcb opened this issue Aug 3, 2023 · 1 comment
Open
2 tasks done

Feature: investigate integrating gopherlogs into project #17

jpmcb opened this issue Aug 3, 2023 · 1 comment

Comments

@jpmcb
Copy link
Member

jpmcb commented Aug 3, 2023

Type of feature

🍕 Feature

Current behavior

It'd be interesting to investigate integrating gopherlogs, a CLI focused logging library, into the pizza-cli. This would give us "animated" structured logging with color and TERM env variable support.

Suggested solution

Since I'm intimately familiar with gopherlogs, I'll investigate adding this.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@jpmcb
Copy link
Member Author

jpmcb commented Aug 27, 2024

We brought gopherlogs in via: #95

logger.V(logging.LogDebug).Style(0, colors.FgBlue).Infof("Looking back %d days\n", opts.previousDays)

We can integrate this deeper into the CLI as we go

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

No branches or pull requests

1 participant