 
   @doc false
   def start(_type, _args) do
-    otp_reports?  = Application.get_env(:logger, :handle_otp_reports)
+    otp_reports? = Application.get_env(:logger, :handle_otp_reports)
     sasl_reports? = Application.get_env(:logger, :handle_sasl_reports)
-    threshold     = Application.get_env(:logger, :discard_threshold_for_error_logger)
+    threshold = Application.get_env(:logger, :discard_threshold_for_error_logger)
     error_handler = {:error_logger, Logger.ErrorHandler, {otp_reports?, sasl_reports?, threshold}}
 
     children = [


    case Supervisor.start_link(children, strategy: :rest_for_one, name: Logger.Supervisor) do
      {:ok, sup} ->
        handlers = [error_logger_tty_h: otp_reports?,
                    sasl_report_tty_h: sasl_reports?]
        delete_handlers(handlers)
        {:ok, sup, config}
      {:error, _} = error ->
        Logger.Config.delete(config)
        error

  def stop(config) do
    Logger.Config.deleted_handlers()
    |> add_handlers()

    Logger.Config.delete(config)
  end

