code: 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);
      }
docs: Register the log levels.