You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, can you tell me a little bit about it? If I am right, you might want to print more verbose logs with -v or -verbose flag.
What do you think about leveled logging? So, the user can always prefer what kind of logs they want. And the input can be given by --log-level flag or LOG_LEVEL env variable.
yes, you are right, i would like to introduce a new flag, which gives an opportunity to print more details to console. At this point the CLI is very simple utility, doesn't require a levelled logging.
These are the implementation steps i have in mind:
Introducing a new flag in the app (please note: already such a flag exist (-v) for printing version), we should come up with a different name of the flag.
Identifying areas in code , where printing extra information makes sense
Using only standard libraries without using any external dependencies.
Adding a new internal package for logging, that contains a function, something like printLog, that can do the logging based on the flag state (if verbose is required or not).
No description provided.
The text was updated successfully, but these errors were encountered: