Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate LoggerAwareInterface/LoggerAwareTrait #17

Open
ricardoboss opened this issue May 18, 2022 · 0 comments
Open

Integrate LoggerAwareInterface/LoggerAwareTrait #17

ricardoboss opened this issue May 18, 2022 · 0 comments
Labels
feature New feature or request interop Concerning interoperability with other software

Comments

@ricardoboss
Copy link
Member

The LoggerAwareInterface allows classes to announce that it has a setLogger method. This can be used by frameworks and DI containers to set a logger for that specific service.

Ideally, the application builder or the application itself can set the logger for each service. Maybe this can be solved using callbacks/events inside the ServiceCollection.

@ricardoboss ricardoboss added feature New feature or request interop Concerning interoperability with other software labels May 18, 2022
@ricardoboss ricardoboss added this to the PSR Compatibility milestone May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request interop Concerning interoperability with other software
Projects
None yet
Development

No branches or pull requests

1 participant