Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / log / src / ConsoleLogLevel.php
1 <?php
2 namespace Consolidation\Log;
3
4 /**
5  * Additional log levels for use in Console applications.
6  *
7  * ConsoleLogLevels may be used by methods of Symfony Command
8  * in applications where it is known that the Consolidation logger
9  * is in use.  These log levels provide access to the 'success'
10  * styled output method.  Code in reusable libraries that may
11  * be used with a standard Psr-3 logger should aviod using these
12  * log levels.
13  *
14  * All ConsoleLogLevels should be interpreted as LogLevel\NOTICE.
15  *
16  * @author Greg Anderson <greg.1.anderson@greenknowe.org>
17  */
18 class ConsoleLogLevel extends \Psr\Log\LogLevel
19 {
20     /**
21      * Command successfully completed some operation.
22      * Displayed at VERBOSITY_NORMAL.
23      */
24     const SUCCESS = 'success';
25 }