You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-03-04T16:30:28.114 [Error] [Fri Mar 4 16:30:28 2022] PHP Fatal error: Declaration of Huhushow\AzureTableStorageHandler\AzureTableStorageHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in C:\home\site\wwwroot\vendor\huhushow\monolog-azuretable\src\AzureTableStorageHandler.php on line 54
How should I use this package?
my code :
use Monolog\Logger;
use Huhushow\AzureTableStorageHandler\AzureTableStorageHandler ;
$connectionString = "DefaultEndpointsProtocol=https;
AccountName=MyAccountName;
AccountKey=MyAccountKey;
TableEndpoint = https://myaccountname.table.core.windows.net/mytable";
$handle = new AzureTableStorageHandler($connectionString, 'mytable', Logger::DEBUG);
$logger->pushHandler($handle);
$logger->info("my message log");`
The text was updated successfully, but these errors were encountered:
Hi,
Please, my code is return :
2022-03-04T16:30:28.114 [Error] [Fri Mar 4 16:30:28 2022] PHP Fatal error: Declaration of Huhushow\AzureTableStorageHandler\AzureTableStorageHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in C:\home\site\wwwroot\vendor\huhushow\monolog-azuretable\src\AzureTableStorageHandler.php on line 54
How should I use this package?
my code :
The text was updated successfully, but these errors were encountered: