Skip to content

Commit c9feeb5

Browse files
committed
:octocat:
1 parent b8c1f2a commit c9feeb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/LoggingClientTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use PHPUnit\Framework\Attributes\Group;
1717
use Psr\Log\AbstractLogger;
1818
use Stringable;
19-
use function date, sprintf;
19+
use function date, printf;
2020

2121
/**
2222
*
@@ -29,7 +29,7 @@ protected function setUp():void{
2929

3030
$logger = new class () extends AbstractLogger{
3131
public function log($level, string|Stringable $message, array $context = []):void{
32-
echo sprintf('[%s][%s] %s', date('Y-m-d H:i:s'), $level, 'LoggingClientTest')."\n";
32+
printf("\n[%s][%s] LoggingClientTest: %s", date('Y-m-d H:i:s'), $level, $message);
3333
}
3434
};
3535
// we'll just wrap the parent's client

0 commit comments

Comments
 (0)