kdash-rs / kdash

A simple and fast dashboard for Kubernetes
https://kdash.cli.rs
MIT License
2.06k stars 78 forks source link

Implement --debug flag for logging #425

Closed codeautopilot[bot] closed 7 months ago

codeautopilot[bot] commented 7 months ago

Resolves #424

This PR introduces a --debug flag to the CLI, allowing users to enable logging to a specified file or a default file in the current directory. It includes updates to Cargo.toml for new dependencies, modifications to src/app/utils.rs for the logging setup, and changes to src/main.rs to parse the new flag and initialize logging.

codeautopilot[bot] commented 7 months ago

Your organization has reached the subscribed usage limit. You can upgrade your plan at https://www.codeautopilot.com/#pricing