What is the version of your ORAS CLI
0.16.0
What would you like to be added?
Currently the project includes logrus which is fine, but logging is inconsistent and does not show the best separation of concerns. Ideally, this code should be capable of being used as an CLI executable and a go module.
- It should have some interface users can implement if they want to use their own logging.
- It should be initialized with a log level, which I suppose would be dictated by
--debug and --verbose, but it should not know about those command line options
- It should not expose its implementation
- It should not know about objects related to this project
Reference current situation:
Why is this needed for ORAS?
Make the code more usable by other projects.
Are you willing to submit PRs to contribute to this feature?
What is the version of your ORAS CLI
0.16.0
What would you like to be added?
Currently the project includes logrus which is fine, but logging is inconsistent and does not show the best separation of concerns. Ideally, this code should be capable of being used as an CLI executable and a go module.
--debugand--verbose, but it should not know about those command line optionsReference current situation:
Why is this needed for ORAS?
Make the code more usable by other projects.
Are you willing to submit PRs to contribute to this feature?