   ## Examples
 
       Logger.error("oops")
-      Logger.error(fn -> "dynamically calculated error" end)
-      Logger.error(fn -> {"dynamically calculated error", [additional: :metadata]} end)
 
   """
   defmacro error(chardata_or_fun, metadata \\ []) do

  ## Examples

      Logger.warn("knob turned too far to the right")
      Logger.warn(fn -> "dynamically calculated warning" end)
      Logger.warn(fn -> {"dynamically calculated warning", [additional: :metadata]} end)

  """
  # TODO: Deprecate it in favour of `warning/1-2` macro

  ## Examples

      Logger.debug("hello?")

  """
  defmacro debug(chardata_or_fun, metadata \\ []) do
