Skip to content
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

log the command about to be run #191

Open
joachim-n opened this issue Aug 17, 2019 · 1 comment
Open

log the command about to be run #191

joachim-n opened this issue Aug 17, 2019 · 1 comment

Comments

@joachim-n
Copy link

See drush-ops/drush#4151

It would be useful if Drush's debug output said the command class and method that was about to be run.

CommandProcessor has LoggerAwareTrait, so it can log, but Drush uses constants from Drush\Log\LogLevel, so I don't know how we do that over here.

@weitzman
Copy link
Member

No need for constants. Just use methods that correspond like $logger->warning(), $logger->info().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants