pinebucket/php-client

A small PHP client for pinebucket.com

Fund package maintenance!
Nyholm

dev-master 2021-08-30 19:08 UTC

This package is not auto-updated.

Last update: 2024-11-20 08:19:47 UTC


README

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.

Install

composer require pinebucket/php-client

Use

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');

Monolog

You may also integrate with Monolog my using the MonologHandler.

PSR-3

Or use the PinebucketLogger which is a PSR-3 logger.