-
Notifications
You must be signed in to change notification settings - Fork 96
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
Setting verbose mode doesn't set the logger level do 'debug' #172
Comments
It looks like the logging level is set on each of the loggers transports but not on the logger itself: Lines 185 to 188 in db19813
|
Many thanks for your reply. But I don't fully understand what does it mean regarding my intention to detect the global verbose settings. I realized I can get the debug/info flog from |
Hi, may I ask if there will be any further development regarding the setting the log level on the logger or whether I shall use |
Hey there - I've released Be warned that, while most of the usage remain the same, the v2 is not backward compatible with v1. You can test it with
Feel free to open issues regarding v2. I would also be happy if you have any feedbacks / suggestions. |
I can confirm, that v2 version solved my problem, I updated my project to use caporal v2 and so far - so good |
Great news - what is the v2 version you're using ? |
I'm planning to release a stable version for v2 - But I don't have a lot of feedbacks so far |
"@caporal/core": "^2.0.0-beta.2", |
I've released a final version + some fixes over the week-end, you should be
able to install @caporal/core@2.0.2
…On Mon, Jun 15, 2020 at 3:19 PM Karel Mácha ***@***.***> wrote:
Great news - what is the v2 version you're using ?
***@***.***/core": "^2.0.0-beta.2",
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABLTOBXNPXMOXVVRTTBKIDRWYNXVANCNFSM4MKVEOWA>
.
|
Describe the bug
I searched for a way to detect, whether the
-v/--verbose
flag was set. My expectation was to look at the level attribute of the logger parameter in the action call.To Reproduce
Steps to reproduce the behavior:
Expected behavior
My expectation was, that running the cli with the
-v/--verbose
flag would set the level to debugEnvironment informations (please complete the following information):
Additional context
If my suggestion was wrong, could you please tell me how to detect the
-v/--verbose
flag ?The text was updated successfully, but these errors were encountered: