pinterest / riffed

Provides idiomatic Elixir bindings for Apache Thrift
Apache License 2.0
308 stars 37 forks source link

Undefined function Logger.notice/1 #49

Closed nemanja-m closed 7 years ago

nemanja-m commented 7 years ago

An UndefinedFunctionError is raised in this function:

def handle_error(_, :timeout) do
  Logger.notice("Connection to client timed out.")
  {:ok, :timeout}
end

notice/1 is part of Lager. Maybe use Logger.warn/2 or Logger.info/2 ?

This occurred after #47.