-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2379 Added some logging to MDT string importing
- Loading branch information
Showing
7 changed files
with
207 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
namespace App\Service\MDT\Logging; | ||
|
||
use App\Logging\StructuredLogging; | ||
|
||
class MDTImportStringServiceLogging extends StructuredLogging implements MDTImportStringServiceLoggingInterface | ||
{ | ||
|
||
public function getDetailsStart(): void | ||
{ | ||
$this->start(__METHOD__); | ||
} | ||
|
||
public function getDetailsEnd(): void | ||
{ | ||
$this->end(__METHOD__); | ||
} | ||
|
||
public function getDungeonRouteStart(bool $sandbox, bool $save, bool $importAsThisWeek): void | ||
{ | ||
$this->start(__METHOD__, get_defined_vars()); | ||
} | ||
|
||
public function getDungeonRouteEnd(): void | ||
{ | ||
$this->end(__METHOD__); | ||
} | ||
|
||
public function setEncodedStringEncodedString(string $encodedString): void | ||
{ | ||
$this->debug(__METHOD__, get_defined_vars()); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
app/Service/MDT/Logging/MDTImportStringServiceLoggingInterface.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,16 @@ | ||
<?php | ||
|
||
namespace App\Service\MDT\Logging; | ||
|
||
interface MDTImportStringServiceLoggingInterface | ||
{ | ||
public function getDetailsStart(): void; | ||
|
||
public function getDetailsEnd(): void; | ||
|
||
public function getDungeonRouteStart(bool $sandbox, bool $save, bool $importAsThisWeek): void; | ||
|
||
public function getDungeonRouteEnd(): void; | ||
|
||
public function setEncodedStringEncodedString(string $encodedString): 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
Oops, something went wrong.