-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Select a logging framework. #156
Comments
Anyone will to have a crack of building/selecting a logging framework that we use/export as part of the dcli package. slf4j loggers look problematic as I suspect that java uses reflection. |
@jorgecoca @felangel can we do a joined effort and create a new |
I think we need to align on what value this new package would bring over the existing packages. |
@felangel I think that is a valid concern. Ideally we should be able to adapt to whatever logger the user chooses. There would be a significant effort in building and maintaining our own. One idea is to build a separate set of adaptor packages. One for each of the popular loggers. |
We really need to look at selecting a logging framework which we use and recommend.
It would be nice if there was something similar to java slf4j-api.logger which is able to work with an array of logging provider. This allows the user to choose their logger and dcli would then log via that provider. This may not be possible without using mirrors which I would prefer to avoid.
Alternativley we could extend the existing setVerbose logging.
The text was updated successfully, but these errors were encountered: