LogLevel.php

  1. 8.0.x lib/Drush/Log/LogLevel.php
  2. 7.x lib/Drush/Log/LogLevel.php
  3. master lib/Drush/Log/LogLevel.php

Namespace

Drush\Log

Classes

Namesort descending Description
LogLevel Additional log levels that Drush uses for historical reasons. Standard log levels should be preferred.

File

lib/Drush/Log/LogLevel.php
View source
  1. <?php
  2. namespace Drush\Log;
  3. /**
  4. * Additional log levels that Drush uses for historical reasons.
  5. * Standard log levels should be preferred.
  6. */
  7. class LogLevel extends \Psr\Log\LogLevel
  8. {
  9. // Things that happen early on. Like 'notice'
  10. const BOOTSTRAP = 'bootstrap';
  11. const PREFLIGHT = 'preflight';
  12. // Notice that the user is cancelling an operation. Like 'warning'
  13. const CANCEL = 'cancel';
  14. // Various 'success' messages. Like 'notice'
  15. const OK = 'ok';
  16. // Means the command was successful. Should appear at most once
  17. // per command (perhaps more if subcommands are executed, though).
  18. // Like 'notice'.
  19. const SUCCESS = 'success';
  20. // Batch processes. Like 'notice'
  21. const BATCH = 'batch';
  22. }