   @doc """
   Alters the current process metadata according the given keyword list.
 
-  This will merge the given keyword list into the existing metadata. With
-  the exception of setting a key to nil will remove a key from the metadata.
+  This function will merge the given keyword list into the existing metadata,
+  with the exception of setting a key to `nil`, which will remove that key
+  from the metadata.
   """
   @spec metadata(metadata) :: :ok
-  def metadata(keywords) do
+  def metadata(keyword) do
     {enabled?, metadata} = __metadata__()
     metadata =
-      Enum.reduce(keywords, metadata, fn
+      Enum.reduce(keyword, metadata, fn
         {key, nil}, acc -> Keyword.delete(acc, key)
         {key, val}, acc -> Keyword.put(acc, key, val)
       end)

  end

  @doc """
  Logs a warning.

  Returns the atom `:ok` or an `{:error, reason}` tuple.

  ## Examples



  ### Runtime Configuration

  All configuration below can be set via config files (such as
  `config/config.exs`) but also changed dynamically during runtime via
  `Logger.configure/1`.

