   defp sup_context(:shutdown_error), do: "shutdown abnormally"
 
   defp child_info(min_level, [{:mfargs, {mod, fun, args}} | debug]) do
-    ["\nStart Call: ", format_mfa(mod, fun, args) |
-     child_debug(min_level, debug)]
+    ["\nStart Call: ", format_mfa(mod, fun, args) | child_debug(min_level, debug)]
   end
 
   defp child_info(min_level, [{:mfa, {mod, fun, args}} | debug]) do
-    ["\nStart Call: ", format_mfa(mod, fun, args) |
-     child_debug(min_level, debug)]
+    ["\nStart Call: ", format_mfa(mod, fun, args) | child_debug(min_level, debug)]
   end
 
   defp child_info(min_level, [{:mod, mod} | debug]) do
-    ["\nStart Module: ", inspect(mod) |
-     child_debug(min_level, debug)]
-  end
-
-  defp child_debug(:debug,
-                   [restart_type: restart, shutdown: shutdown, child_type: type]) do
-    ["\nRestart: ", inspect(restart),
-     "\nShutdown: ", inspect(shutdown),
-     "\nType: ", inspect(type)]
+    ["\nStart Module: ", inspect(mod) | child_debug(min_level, debug)]
+  end
+
+  defp child_debug(:debug, restart_type: restart, shutdown: shutdown, child_type: type) do
+    ["\nRestart: ", inspect(restart), "\nShutdown: ", inspect(shutdown)] ++
+      ["\nType: ", inspect(type)]
   end
 
   defp child_debug(_min_level, _child) do


  defp crash_debug(:current_stacktrace, stack, prefix) do
    stack_prefix = [prefix | "    "]
    [prefix, "Current Stacktrace:" |
     Enum.map(stack, &[stack_prefix | Exception.format_stacktrace_entry(&1)])]
  end

  defp crash_debug(key, value, prefix) do


  defp crash_info(min_level, info, prefix \\ [?\n])

  defp crash_info(min_level, [{:initial_call, {mod, fun, args}} | info], prefix) do
    [prefix, "Initial Call: ", crash_call(mod, fun, args) | crash_info(min_level, info, prefix)]
  end

  defp crash_info(min_level, [{:current_function, {mod, fun, args}} | info], prefix) do
    [prefix, "Current Call: ", crash_call(mod, fun, args) | crash_info(min_level, info, prefix)]
  end

  defp crash_info(min_level, [{:current_function, []} | info], prefix) do
    crash_info(min_level, info, prefix)
  end

  defp crash_info(min_level, [{:ancestors, ancestors} | debug], prefix) do
    [prefix, "Ancestors: ", inspect(ancestors) | crash_info(min_level, debug, prefix)]
  end

  defp crash_info(:debug, debug, prefix) do
