-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/development' into development
- Loading branch information
Showing
8 changed files
with
102 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
app/Service/RaiderIO/Logging/RaiderIOApiServiceLogging.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace App\Service\RaiderIO\Logging; | ||
|
||
use App\Logging\RollbarStructuredLogging; | ||
|
||
class RaiderIOApiServiceLogging extends RollbarStructuredLogging implements RaiderIOApiServiceLoggingInterface | ||
{ | ||
public function getHeatmapDataStart(string $url): void | ||
{ | ||
$this->start(__METHOD__, get_defined_vars()); | ||
} | ||
|
||
public function getHeatmapDataResponse(string $response): void | ||
{ | ||
$this->debug(__METHOD__, get_defined_vars()); | ||
} | ||
|
||
public function getHeatmapDataEnd(): void | ||
{ | ||
$this->end(__METHOD__); | ||
} | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
app/Service/RaiderIO/Logging/RaiderIOApiServiceLoggingInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace App\Service\RaiderIO\Logging; | ||
|
||
interface RaiderIOApiServiceLoggingInterface | ||
{ | ||
public function getHeatmapDataStart(string $url): void; | ||
|
||
public function getHeatmapDataResponse(string $response): void; | ||
|
||
public function getHeatmapDataEnd(): void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters