Skip to content

Commit ac010e0

Browse files
committed
bug #5418 Import Psr LogLevel (harikt)
This PR was squashed before being merged into the 2.6 branch (closes #5418). Discussion ---------- Import Psr LogLevel | Q | A | ------------- | --- | Doc fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | License | MIT A question regarding the output, by default the o/p was not shown to me, and it introduced a bit of confusion whether it is working or not until I read the verbosity . Is there a way we can improve the same ? Commits ------- ab87e62 Import Psr LogLevel
2 parents d85691c + ab87e62 commit ac010e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/console/logger.rst

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ The association between the log level and the verbosity can be configured
8484
through the second parameter of the :class:`Symfony\\Component\\Console\\ConsoleLogger`
8585
constructor::
8686

87+
use Psr\Log\LogLevel;
8788
// ...
8889
$verbosityLevelMap = array(
8990
LogLevel::NOTICE => OutputInterface::VERBOSITY_NORMAL,

0 commit comments

Comments
 (0)