You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: This issue is part of the "SymfonyCon 2014 Madrid Hackday" effort to add logs for every 2.7 deprecated feature. This is needed before removing those features in 3.0 version. Please, add you name in a comment of this issue if you are going to work on this.
The Symfony\Component\HttpKernel\Log\LoggerInterface has been removed in
favor of Psr\Log\LoggerInterface. The only difference is that some method
names are different:
Old name
New name
emerg()
emergency()
crit()
critical()
err()
error()
warn()
warning()
The previous method renames also happened to the following classes:
Symfony\Bridge\Monolog\Logger
Symfony\Component\HttpKernel\Log\NullLogger
The text was updated successfully, but these errors were encountered:
This PR was squashed before being merged into the 2.7 branch (closes#12699).
Discussion
----------
Hackday deprecated 12621
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #12621
| License | MIT
| Doc PR | -
[MonologBridge] added the deprecated error trigger in the monolog logger emerg(), crit(), err() and warn() methods
[HttpKernel] added the deprecated error trigger in the NullLogger emerg(), crit(), err() and warn() methods
Commits
-------
88b9500 Hackday deprecated 12621
NOTE: This issue is part of the "SymfonyCon 2014 Madrid Hackday" effort to add logs for every 2.7 deprecated feature. This is needed before removing those features in 3.0 version. Please, add you name in a comment of this issue if you are going to work on this.
The
Symfony\Component\HttpKernel\Log\LoggerInterface
has been removed infavor of
Psr\Log\LoggerInterface
. The only difference is that some methodnames are different:
emerg()
emergency()
crit()
critical()
err()
error()
warn()
warning()
The previous method renames also happened to the following classes:
Symfony\Bridge\Monolog\Logger
Symfony\Component\HttpKernel\Log\NullLogger
The text was updated successfully, but these errors were encountered: