Laravel5.7 log code execution sequence problem

wanted to see how laravel encapsulated monolog, and then clicked on the code. Here comes the problem. Let"s take a look at it.

Controller Code

<?php

namespace Illuminate\Support\Facades;

use Mockery;
use RuntimeException;
use Mockery\MockInterface;

abstract class Facade
{
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();

        dd($instance);

        if (! $instance) {
            throw new RuntimeException("A facade root has not been set.");
        }

        return $instance->$method(...$args);
    }
}

although the code is terminated here, the log can still be generated, indicating that I didn"t go this way. At this time, I can"t find out what the problem is. Ask everyone. Thank you very much

Dec.15,2021

< H1 > Facade is a very important concept in Laravel. < / H1 >

understatement is not easy to make clear. A simple summary is an object that is instantiated by a static proxy using a static method call. For details, please refer to the Laravel documentation.

if you just want to see the implementation in Logs, you can click directly after installing Laravel-idee-helper. The function name is located to the source code in vendor for reference.

XDebug debugging passed here, Laravel version 5.5.*.

clipboard.png

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38545-344b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38545-344b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?