Pinebucket is a simple logging platform where you can easily search for log entries across multiple platform. Is is not a big complex monster, but a good first tool to get started with professional logging.
composer require pinebucket/php-client
The simplest way to get started is to register error handlers. This will make sure we log all errors and uncaught exceptions.
\Pinebucket\Client\Pinebucket::register('my-project-key');
You may also integrate with Monolog my using the MonologHandler
.
Or use the PinebucketLogger
which is a PSR-3 logger.