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

Call to undefined method Monolog\Logger::getMonolog() #10

Closed
diazsasak opened this issue Oct 21, 2019 · 3 comments
Closed

Call to undefined method Monolog\Logger::getMonolog() #10

diazsasak opened this issue Oct 21, 2019 · 3 comments
Labels

Comments

@diazsasak
Copy link

In Logger.php line 273:

Call to undefined method Monolog\Logger::getMonolog()

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

Logger::getMonolog() does not exist. you may try Logger::getLogger() ?

@gauravmak
Copy link
Member

@diazsasak Which version of Laravel are you using?

@diazsasak
Copy link
Author

@gauravmak laravel 5.7

@gauravmak
Copy link
Member

@diazsasak This package is only for Laravel 5.5

From Laravel 5.6 onwards, you can send Slack messages for log messages without any package.

Check this - https://laravel.com/docs/5.7/logging

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants