CloudLog.me - is simple logging system.
Just a few lines of code:
$apiToken = YOUR_TOKEN_HERE;
$channelId = YOUR_CHANNEL_ID_HERE;
$cloudLog = new CloudLog($apiToken);
$cloudLog->channel($channelId);
$cloudLog->tag('my_cool_tag'); //optional
$cloudLog->info('Hello world!', ['foo' => 'bar']);
$cloudLog->error('Whoops!');
$cloudLog->critical('OMG!');
That's all!
You can use this package as a Laravel logger.
php artisan vendor:publish --provider="Ermolinme\CloudLog\CloudLogServiceProvider" --tag="config"
Create log config in config/logging.php
...
'cloud' => [
'driver' => 'custom',
'via' => \Ermolinme\CloudLog\CustomLogger::class,
'level' => 'debug',
],
...
And use it!
Log::channel('cloud')->info('Hello world');