src/Watchers/LogWatcher.php
public function recordLog(MessageLogged $event)
    {
        if (! Telescope::isRecording() || $this->shouldIgnore($event)) {
            return;
        }

        Telescope::recordLog(
            IncomingEntry::make([
                'level' => $event->level,
                'message' => $event->message,
                'context' => Arr::except($event->context, ['telescope']),
            ])->tags($this->tags($event))
        );
    }
public function recordLog(MessageLogged $event)
    {
        if (! Telescope::isRecording() || $this->shouldIgnore($event)) {
            return;
        }

        Telescope::recordLog(
            IncomingEntry::make([
                'level' => $event->level,
                'message' => $event->message,
                'context' => Arr::except($event->context, ['telescope']),
            ])->tags($this->tags($event))
        );
    }
public function recordLog ( MessageLogged $ event ) { if ( ! Telescope :: isRecording ( ) || $ this -> shouldIgnore ( $ event ) ) { return ; } Telescope :: recordLog ( IncomingEntry :: make ( [ 'level' => $ event -> level , 'message' => $ event -> message , 'context' => Arr :: except ( $ event -> context , [ 'telescope' ] ) , ] ) -> tags ( $ this -> tags ( $ event ) ) ) ; }
Record a message was logged.

@param  \Illuminate\Log\Events\MessageLogged  $event
@return void
Record a message was logged .