iipa Posted August 17, 2020 Share Posted August 17, 2020 I'm trying to use Logger::addLog() in my controller that extends ModuleAdminController, but nothing is being logged and method I'm trying to log is not being executed properly. No errors are thrown in debug or in Apache logs, but if I comment out the logger, everything works fine. I also tried using PrestaShopLogger, but it didn't work either. Should I add a use class statement, or how can I use logger in admin controller? In front controller logging works just fine, which makes me very confused about this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now