This repository was archived by the owner on Apr 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 55use Fluent \Logger \PackerInterface ;
66use Illuminate \Contracts \Container \BindingResolutionException ;
77use Illuminate \Contracts \Container \Container ;
8+ use Illuminate \Contracts \Foundation \Application ;
89use Illuminate \Log \LogManager ;
910use Monolog \Handler \HandlerInterface ;
1011use Monolog \Logger as Monolog ;
2021 */
2122final class FluentLogManager extends LogManager
2223{
23- /** @var Container */
24+ /** @var Application */
2425 protected $ app ;
2526
2627 /**
Original file line number Diff line number Diff line change @@ -15,22 +15,22 @@ public static function make(string $headerValue): ?self
1515 return null ;
1616 }
1717
18- return new self ($ version , $ traceId , $ spanId, $ flags );
18+ return new self ($ traceId , $ spanId );
1919 }
2020
2121 public function __construct (
22- private string $ version ,
2322 private string $ traceId ,
2423 private string $ spanId ,
25- private string $ flags ,
2624 ) {
2725 }
2826
29- /**
30- * @return string
31- */
3227 public function getTraceId (): string
3328 {
3429 return $ this ->traceId ;
3530 }
31+
32+ public function getSpanId (): string
33+ {
34+ return $ this ->spanId ;
35+ }
3636}
You can’t perform that action at this time.
0 commit comments