Skip to content

Commit

Permalink
chore: add backtrace_sequence to debug log of `get_referenced_locator…
Browse files Browse the repository at this point in the history
…s` for easy detect calls
  • Loading branch information
Paco committed Sep 26, 2024
1 parent ff25c8b commit 5929817
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/search/class.search_related.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ public static function get_referenced_locators( array $filter_locators, ?int $li
debug_log(__METHOD__
. " Calculated referenced_locators step 1 (total: $total_records)" . PHP_EOL
. ' reference_locator: ' . to_string($filter_locators) . PHP_EOL
. ' time: ' . $time_ms .' ms'
. ' time: ' . $time_ms .' ms' . PHP_EOL
.' backtrace_sequence: ' . to_string( array_reverse(get_backtrace_sequence()) )
, logger::DEBUG
);
}
Expand Down

0 comments on commit 5929817

Please sign in to comment.