Refactoring
This commit is contained in:
25
lib/composer/vendor/consolidation/log/src/ConsoleLogLevel.php
vendored
Normal file
25
lib/composer/vendor/consolidation/log/src/ConsoleLogLevel.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace Consolidation\Log;
|
||||
|
||||
/**
|
||||
* Additional log levels for use in Console applications.
|
||||
*
|
||||
* ConsoleLogLevels may be used by methods of Symfony Command
|
||||
* in applications where it is known that the Consolidation logger
|
||||
* is in use. These log levels provide access to the 'success'
|
||||
* styled output method. Code in reusable libraries that may
|
||||
* be used with a standard Psr-3 logger should aviod using these
|
||||
* log levels.
|
||||
*
|
||||
* All ConsoleLogLevels should be interpreted as LogLevel\NOTICE.
|
||||
*
|
||||
* @author Greg Anderson <greg.1.anderson@greenknowe.org>
|
||||
*/
|
||||
class ConsoleLogLevel extends \Psr\Log\LogLevel
|
||||
{
|
||||
/**
|
||||
* Command successfully completed some operation.
|
||||
* Displayed at VERBOSITY_NORMAL.
|
||||
*/
|
||||
const SUCCESS = 'success';
|
||||
}
|
||||
Reference in New Issue
Block a user