DebugKit\Panel\LogPanel::initialize PHP Method

initialize() public method

Initialize hook - sets up the log listener.
public initialize ( ) : void
return void
    public function initialize()
    {
        if (Log::config('debug_kit_log_panel')) {
            return;
        }
        Log::config('debug_kit_log_panel', ['engine' => 'DebugKit.DebugKit']);
    }