 
     defmodule Sample do
       def debug do
-        Logger.debug "hello"
+        Logger.debug("hello")
       end
 
       def info do
-        Logger.info "hello"
-      end
-    end
-
-    assert capture_log(fn ->
-      assert Sample.debug == :ok
-    end) == ""
-
-    assert capture_log(fn ->
-      assert Sample.info == :ok
-    end) =~ msg("module=LoggerTest.Sample [info]  hello")
+        Logger.info("hello")
+      end
+    end
+
+    assert capture_log(fn ->
+             assert Sample.debug() == :ok
+           end) == ""
+
+    assert capture_log(fn ->
+             assert Sample.info() == :ok
+           end) =~ msg("module=LoggerTest.Sample [info]  hello")
   after
     Logger.configure(compile_time_purge_level: :debug)
   end

    assert Logger.add_translator({CustomTranslator, :t})

    assert capture_log(fn ->
      :error_logger.info_msg('hello: ~p', [:ok])
    end) == ""

    assert capture_log(fn ->
      :error_logger.info_msg('world: ~p', [:ok])
    end) =~ "\[info\]  rewritten"
  after
    assert Logger.remove_translator({CustomTranslator, :t})
  end

    Application.start(:logger)

    assert capture_log(fn ->
             assert Logger.debug("hello", []) == :ok
           end) == ""

    assert {:ok, _} = Logger.add_backend(:console)
    assert Logger.add_backend(:console) == {:error, :already_present}
  after
    Application.put_env(:logger, :backends, [:console])
    Logger.App.stop()
