Skip to content

Commit f68a05f

Browse files
committed
reorganized log context
1 parent 82d99c2 commit f68a05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryLogger/QueryLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public function handle(QueryExecuted $event): void
4040
$query = $this->prepareQuery($event->sql, $bindings);
4141

4242
$this->logger->info($query, [
43-
'bindings' => $event->bindings,
4443
'time' => $event->time,
4544
'connection' => $event->connectionName,
4645
'database' => $this->config->get("database.connections.{$event->connectionName}.database"),
46+
'bindings' => $event->bindings,
4747
'callSpot' => $this->guessCallSpot(),
4848
]);
4949
}

0 commit comments

Comments
 (0)