Skip to content

Commit

Permalink
Merge pull request #10 from Meeshalk/staging
Browse files Browse the repository at this point in the history
Staging to main
  • Loading branch information
Meeshalk authored Feb 14, 2024
2 parents 12160a8 + e9cf363 commit 3ee35bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GloERSClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function factory(
string $wsdl, LoggerInterface $logger = null
): GloERSClient {
// enable logger only on local
if (getenv('APP_ENV') == 'local'){
if (getenv('APP_ENV') == 'local' || getenv('APP_ENV') == 'testing'){
if ($logger === null) {
$logger = new Logger('http',
[new RotatingFileHandler('logs/mono.log')]);
Expand Down

0 comments on commit 3ee35bf

Please sign in to comment.