2 namespace Consolidation\Log;
5 * Additional log levels for use in Console applications.
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
14 * All ConsoleLogLevels should be interpreted as LogLevel\NOTICE.
16 * @author Greg Anderson <greg.1.anderson@greenknowe.org>
18 class ConsoleLogLevel extends \Psr\Log\LogLevel
21 * Command successfully completed some operation.
22 * Displayed at VERBOSITY_NORMAL.
24 const SUCCESS = 'success';