-
Notifications
You must be signed in to change notification settings - Fork 65
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
PHP - Monolog loglevel missing Handler #266
Comments
Thanks for your feedback. Monolog support is still experimental (it's only on the Maybe it would be a first step to make the static Feel free to send a pull request if you want to help with this. |
As commented on koraktor/steam-condenser-php#21 complying to PSR-3 seems to be the best option. |
Is there any info on getting this to work? Does not log a thing ? |
@iNilo This code does nothing, effectively. It will just create a server object and set its logger. So there is nothing to log here. |
Yes, but how do I get it actually do (log) something ? 😄 |
Use one of the server methods like |
With the 1.3 branch of the PHP version of steam-condenser, monolog was added which is great, as it gets rid of the trigger_error usage.
But unfortunately, no handlers are implemented and because of that, it falls back to standard console output and DEBUG loglevel. It would be great to add a handler and set a default loglevel which is customizable (as I don't need to fetch the RCON logs)
Best regards,
Fabian
The text was updated successfully, but these errors were encountered: