Version 1
[yaffs-website] / vendor / drush / drush / lib / Drush / Log / LogLevel.php
1 <?php
2
3 namespace Drush\Log;
4
5 /**
6  * Additional log levels that Drush uses for historical reasons.
7  * Standard log levels should be preferred.
8  */
9 class LogLevel extends \Psr\Log\LogLevel
10 {
11     // Things that happen early on.  Like 'notice'
12     const BOOTSTRAP = 'bootstrap';
13     const PREFLIGHT = 'preflight';
14
15     // Notice that the user is cancelling an operation. Like 'warning'
16     const CANCEL = 'cancel';
17
18     // Various 'success' messages.  Like 'notice'
19     const OK = 'ok';
20
21     // Highly verbose messages that are not always interesting.
22     // Displayed only when --debug and --verbose specified together.
23     const DEBUG_NOTIFY = 'debugnotify';
24
25     // Means the command was successful. Should appear at most once
26     // per command (perhaps more if subcommands are executed, though).
27     // Like 'notice'.
28     const SUCCESS = 'success';
29
30     // Batch processes. Like 'notice'
31     const BATCH = 'batch';
32 }