Azure Blob Storage Handler for Monolog.
$ composer require blue32a/monolog-azure-blob
Append Blob
must be created.
$connection = 'DefaultEndpointsProtocol=https;AccountName=<name>;AccountKey=<key>';
$client = \MicrosoftAzure\Storage\Blob\BlobRestProxy::createBlobService($connection);
$logger = new \Monolog\Logger();
$handler = \Blue32a\Monolog\Handler\AzureBlobStorageHandler($client, 'container', 'append-blob.log');
$logger->pushHandler($handler);
// Write to Append Blob
$logger->info('Hello World!');