composer require phplogger/phplogger
use \PhpLogger\Logger; $token = 'd173f174f8aa6793ab8f8b6c9286ec9834a33ee6'; $logger = new Logger($token);
We follow PSR-3 standard for this.
$logger->emergency('this is an emergency message line'); $logger->alert('this is an alert message line'); $logger->critical( 'this is a critical message line', [ 'optional' => 'context', ] ); $logger->error('this is an error message line'); $logger->warning('this is a warning message line'); $logger->notice('this is a notice message line'); $logger->info('this is an info message line'); $logger->debug('this is a debug message line');
More examples in docs: integrations
Each object creates a file with log messages. Do find / filter / see details on all of them!
More pretty pictures in docs: user manual
|Storage Limit (compressed)||1GB||2GB||7GB|
|Retention||7 days||7 days||14 days|
|Duration||~2 months||Subscription based||Subscription based|
A single installation with composer takes care of everything. We value Your time. There is no additional software required apart from PHP client library. No background daemons, configurations or monitoring to take care of. Install and log everything right away!
Every application can provide valuable insights into what it does. You only need to collect this information and have it available. We believe that every piece of information matters and handy picking what to log and not to log takes developer's time and effort. We encourage you to log everything, and we will take care of the rest.
We have a basic subscription price, which pays for the basic usage of our service. This can be used for small PHP projects and their development. We have additional pay as you go options, that would allow log retention and storage limit extension. When your application grows, we are ready to grow your log infrastructure along.
We are really excited about our product. We know about application logging and would love to help you get it right. Do not hesitate to ask for advice or help at email@example.com. We will do our best to make it worth your while.