90 foreach ($trace as $traceEntry) {
91 if (isset($traceEntry[
'class']) &&
false !== strpos($traceEntry[
'class'],
'TYPO3\\CMS\\Core\\Log')) {
101 if (count($trace) > 1) {
106 if ($this->appendFullBackTrace) {
111 if (!isset($trace[0][
'line'])) {
114 if (!isset($trace[0][
'file'])) {
119 'backtrace' => $trace
123 'file' => $trace[0][
'file'] ??
null,
124 'line' => $trace[0][
'line'] ??
null,
125 'class' => $trace[0][
'class'] ??
null,
126 'function' => $trace[0][
'function'] ??
null
141 if (isset($backtrace[0][
'file'])) {
142 $this->precedingBacktraceFile = $backtrace[0][
'file'];
144 if (isset($backtrace[0][
'line'])) {
145 $this->precedingBacktraceLine = $backtrace[0][
'line'];
147 array_shift($backtrace);
159 return debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);