Logging
Introduction
To help you learn more about what’s happening within your application, this Slim skeleton provides robust logging services that allow you to log messages to files, the system error log, and even to Slack to notify your entire team.
This project uses the Monolog package, which provides support for a variety of powerful log handlers.
Configuration
The default settings are stored in config/defaults.php
, $settings['logger']
The directory for all log files is: logs/
Read more
- Logging with Monolog (Slim 4 - eBook Vol. 1)
- Logging with Sentry (Slim 4 - eBook Vol. 1)
- Error Handling (Slim 4 - eBook Vol. 1)