8000 Added a minimalist default PSR-3 logger · Issue #8448 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Added a minimalist default PSR-3 logger #8448

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

Closed
javiereguiluz opened this issue Oct 3, 2017 · 4 comments
Closed

Added a minimalist default PSR-3 logger #8448

javiereguiluz opened this issue Oct 3, 2017 · 4 comments
Labels
FrameworkBundle hasPR A Pull Request has already been submitted for this issue. HttpKernel
Milestone

Comments

@javiereguiluz
Copy link
Member

A simple alternative when you don't want or have access to Monolog.

See symfony/symfony#24300

@javiereguiluz
Copy link
Member Author

I don't know what to do about this. We have at least two alternatives:

  1. Document this at the beginning of the main logging.rst article and move the current contents below: "if you need a more powerful logger, then use Monolog, blah blah".
  2. Document this in a dedicated article and explain it as "an oddity" for edge cases ... and keep recommending to always use Monolog in "real apps".

Ping @weaverryan @xabbuh @wouterj. Thanks!

@weaverryan
Copy link
Member

Option 1! But this almost an internal detail. We just need to say “there is technically a logger always, but it doesn’t do much. Install monolog”

@xabbuh
Copy link
Member
xabbuh commented May 16, 2018

I agree with Ryan.

@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label Oct 18, 2018
@javiereguiluz
Copy link
Member Author

Fixed by #10321.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FrameworkBundle hasPR A Pull Request has already been submitted for this issue. HttpKernel
Projects
None yet
Development

No branches or pull requests

3 participants
0