-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
When logging through $this->io()->success() and $this->logger->success(), the output formatting is completely different. An example, the first one being the logger and the second one being io.
In addition to styling being different, it looks like hyperlinks aren't supported when logging through io().
To Reproduce
Run drush field:create, but change the function being used for logging in FieldCreateCommand::logResult()
Expected behavior
Have the same styling across functions, because both are used throughout Drush commands. Personally, I'm more a fan of the first styling, it's a lot cleaner and takes less space in the terminal.
Actual behavior
The styling is different
Workaround
/
System Configuration
| Q | A |
|---|---|
| Drush version? | 14.x |
| Drupal version? | 11.x |
| PHP version | 8.x |
| OS? | Mac |
Additional information
Add any other context about the problem here.