class LogLevel

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

Additional log levels that Drush uses for historical reasons. Standard log levels should be preferred.

Namespace

Drush\Log

Hierarchy

  • class LogLevel extends \Psr\Log\LogLevel

Expanded class hierarchy of LogLevel

Members

Contains filters are case sensitive

File

lib/Drush/Log/LogLevel.php, line 9

View source
class LogLevel extends \Psr\Log\LogLevel {
  // Things that happen early on.  Like 'notice'
  const BOOTSTRAP = 'bootstrap';
  const PREFLIGHT = 'preflight';

  // Notice that the user is cancelling an operation. Like 'warning'
  const CANCEL = 'cancel';

  // Various 'success' messages.  Like 'notice'
  const OK = 'ok';

  // Means the command was successful. Should appear at most once
  // per command (perhaps more if subcommands are executed, though).
  // Like 'notice'.
  const SUCCESS = 'success';

  // Batch processes. Like 'notice'
  const BATCH = 'batch';
}
75 files declare their use of LogLevel
archive.drush.inc in commands/core/archive.drush.inc
An early implementation of Site Archive dump/restore. See http://groups.drupal.org/site-archive-format.
backend.inc in includes/backend.inc
Drush backend API
backup.inc in commands/pm/version_control/backup.inc
Drush pm directory copy backup extension
BaseBoot.php in lib/Drush/Boot/BaseBoot.php
batch.inc in includes/batch.inc
Drush batch API.

... See full list