Skip to content

Update monolog for Laravel 10 #19

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
wants to merge 1 commit into from
Closed

Conversation

enkota
Copy link

@enkota enkota commented Mar 19, 2023

Laravel 10 requires Monolog 3.0 minimum to install.

@enkota
Copy link
Author

enkota commented Mar 19, 2023

Just noticed an error while logging. Some changes required for Monolog 3.0 it seems.

Declaration of RLaurindo\TelegramLogger\TelegramLoggerHandler::write(array $record): void must be compatible with Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void

@enkota
Copy link
Author

enkota commented Mar 19, 2023

Fixed in #20

@enkota enkota closed this Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant