15 lines
369 B
PHP
15 lines
369 B
PHP
<?php
|
|
|
|
use App\Services\Storage\StorageLogger;
|
|
|
|
if (! function_exists('s3_storage_log')) {
|
|
/**
|
|
* @param 'SUCCESS'|'FAILURE'|'WARNING'|string $status
|
|
* @param array<string, mixed> $context
|
|
*/
|
|
function s3_storage_log(string $status, string $message, array $context = []): void
|
|
{
|
|
StorageLogger::log($status, $message, $context);
|
|
}
|
|
}
|