Skip to content

Commit ea3c01a

Browse files
authored
Merge pull request #4 from useinsider/MES-13888
MES-13888 | Extra Table Logging - Package Change
2 parents c0b20c1 + ec2f8a7 commit ea3c01a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/Handler/CloudWatch.php

+16-16
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,30 @@ class CloudWatch extends AbstractProcessingHandler
1919
*/
2020
public const TIMESPAN_LIMIT = 86400000;
2121

22-
private CloudWatchLogsClient $client;
23-
private string $group;
24-
private string $stream;
25-
private int $retention;
26-
private bool $initialized = false;
27-
private int $batchSize;
22+
private $client;
23+
private $group;
24+
private $stream;
25+
private $retention;
26+
private $initialized = false;
27+
private $batchSize;
2828
/** @var LogRecord[] $buffer */
29-
private array $buffer = [];
30-
private array $tags = [];
31-
private bool $createGroup;
32-
private bool $createStream;
29+
private $buffer = [];
30+
private $tags = [];
31+
private $createGroup;
32+
private $createStream;
3333
/**
3434
* Requests per second limit (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html)
3535
*/
36-
private int $rpsLimit = 0; // Default to 0 (disabled)
36+
private $rpsLimit = 0; // Default to 0 (disabled)
3737

3838
/**
3939
* Data amount limit (http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html)
4040
*/
41-
private int $dataAmountLimit = 1048576;
42-
private int $currentDataAmount = 0;
43-
private int $remainingRequests;
44-
private \DateTimeImmutable $savedTime;
45-
private int|null $earliestTimestamp = null;
41+
private $dataAmountLimit = 1048576;
42+
private $currentDataAmount = 0;
43+
private $remainingRequests;
44+
private $savedTime;
45+
private $earliestTimestamp = null;
4646

4747
/**
4848
* CloudWatchLogs constructor.

0 commit comments

Comments
 (0)