Skip to content

Commit cdc0035

Browse files
committed
simplify debug log
1 parent a1622b5 commit cdc0035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DebugTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function debugTraceChange(string $trace = 'default'): void
8686
$d1 = array_diff($this->_previousTrace[$trace], $bt);
8787
$d2 = array_diff($bt, $this->_previousTrace[$trace]);
8888

89-
$this->log('debug', 'Call path for ' . $trace . ' has diverged (was ' . implode(', ', $d1) . ', now ' . implode(', ', $d2) . ")\n");
89+
$this->debug('Call path for ' . $trace . ' has diverged (was ' . implode(', ', $d1) . ', now ' . implode(', ', $d2) . ")\n");
9090
}
9191

9292
$this->_previousTrace[$trace] = $bt;

0 commit comments

Comments
 (0)