HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/stafa/stafa.nl/vendor/sentry/sentry-laravel/src/Sentry/Laravel/LogChannel.php
<?php

namespace Sentry\Laravel;

use Illuminate\Log\LogManager;
use Monolog\Logger;

class LogChannel extends LogManager
{
    /**
     * @param array $config
     *
     * @return Logger
     */
    public function __invoke(array $config)
    {
        $handler = new SentryHandler($this->app->make('sentry'), $config['level'] ?? Logger::DEBUG, $config['bubble'] ?? true);

        return new Logger($this->parseChannel($config), [$this->prepareHandler($handler, $config)]);
    }
}