Closed as not planned
Description
Description
This RFC proposes to move the built-in PSR-3 Logger
to its own component.
The reasoning behind this proposal is maybe wider
- From the decoupled perspective, Symfony is a set of reusable PHP components.
- From the framework perspective, Symfony is a PHP framework for web projects.
Given these assertions, the provided logger may be used even in pure CLI applications, where the HTTP context does not even exist. That's why I found weird that the logger is provided by a component that uses the HTTP term in its name.
Example
namespace Symfony\Component\Logger;
class Logger extends AbstractLogger implements DebugLoggerInterface
{
// ...
}