src/Orchid/Log/Providers/UtilitiesServiceProvider.php
private function registerLogLevels()
    {
        $this->app->singleton(Contracts\Utilities\LogLevels::class, function ($app) {
            /**
             * @var \Illuminate\Config\Repository
             * @var \Illuminate\Translation\Translator $translator
             */
            $translator = $app['translator'];

            return new Utilities\LogLevels($translator, 'en');
        });

        $this->app->singleton('arcanedev.log-viewer.levels', Contracts\Utilities\LogLevels::class);
    }
private function registerLogLevels()
    {
        $this->app->singleton(Contracts\Utilities\LogLevels::class, function ($app) {
            /**
             * @var \Illuminate\Config\Repository
             * @var \Illuminate\Translation\Translator $translator
             */
            $translator = $app['translator'];

            return new Utilities\LogLevels($translator, 'en');
        });

        $this->app->singleton('arcanedev.log-viewer.levels', Contracts\Utilities\LogLevels::class);
    }
Register the log levels.