We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069db15 commit 1d5ed58Copy full SHA for 1d5ed58
src/Concerns/AutoloadsRelationships.php
@@ -90,13 +90,12 @@ private function logAutoload(string $relationship)
90
91
$this->getLogDriver();
92
93
- $file = $stack['file'];
94
- $lineNo = $stack['line'];
95
-
96
- $blade = $this->getBlade($file);
97
98
- $this->logDriver->info("[LARAVEL-JIT-LOADER] Relationship ". static::class."::{$relationship} was JIT-loaded."
99
- ." Called in {$file} on line {$lineNo}" . ($blade ? " view: {$blade})" : ""));
+ $this->logDriver->info('[LARAVEL-JIT-LOADER] Relationship was JIT-loaded.', [
+ 'relationship' => static::class.'::'.$relationship,
+ 'file' => $stack['file'],
+ 'line' => $stack['line'],
+ 'view' => $this->getBlade($file),
+ ]);
100
}
101
102
/**
0 commit comments