Fixed Logger.configure_backend spec

This commit is contained in:
John Warwick
2014-08-08 10:11:39 -04:00
parent 752e3f8bc3
commit b98421fe51
+1 -1
View File
@@ -348,7 +348,7 @@ defmodule Logger do
The backends needs to be started and running in order to
be configured at runtime.
"""
@spec configure_backend(backend, Keywowrd.t) :: term
@spec configure_backend(backend, Keyword.t) :: term
def configure_backend(backend, options) when is_list(options) do
GenEvent.call(Logger, Logger.Config.translate_backend(backend), {:configure, options})
end