-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed as not planned
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)
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
{
// ...
}
Metadata
Metadata
Assignees
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)