class DrushLog implements LoggerInterface, LoggerAwareInterface (View source)
Redirects Drupal logging messages to Drush log.
Note that Drupal extends the LoggerInterface, and needlessly replaces Psr\Log\LogLevels with Drupal\Core\Logger\RfcLogLevel. Doing this arguably violates the Psr\Log contract, but we can't help that here -- we just need to convert back.
|protected LogMessageParserInterface||$parser||The message's placeholders parser.|
Constructs a DrushLog object.