src/Jackiedo/LogReader/Entities/LogEntry.php
protected function setStackTraces($stackTraces = null)
    {
        $traces = $this->parser->parseStackTrace($stackTraces);

        $output = [];

        foreach ($traces as $trace) {
            $output[] = new TraceEntry($this->parser, $trace);
        }

        $this->stack_traces = new Collection($output);
    }
protected function setStackTraces($stackTraces = null)
    {
        $traces = $this->parser->parseStackTrace($stackTraces);

        $output = [];

        foreach ($traces as $trace) {
            $output[] = new TraceEntry($this->parser, $trace);
        }

        $this->stack_traces = new Collection($output);
    }
protected function setStackTraces ( $ stackTraces = null ) { $ traces = $ this -> parser -> parseStackTrace ( $ stackTraces ) ; $ output = [ ] ; foreach ( $ traces as $ trace ) { $ output [ ] = new TraceEntry ( $ this -> parser , $ trace ) ; } $ this -> stack_traces = new Collection ( $ output ) ; }
Sets the log entry's level property.

@param  $stackTraces

@return void
Sets the log entry s level property .