Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Replaced call to deprecated binary_to_list #6

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 1, 2013
  1. @pma
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/lager.ex
View
2  lib/lager.ex
@@ -16,6 +16,6 @@ defmodule Lager do
def log(level, msg), do: :lager.log(level, self, msg)
def log(level, format, args) when is_list(format), do: :lager.log(level, self, format, args)
- def log(level, format, args) when is_binary(format), do: log(level, binary_to_list(format), args)
+ def log(level, format, args) when is_binary(format), do: log(level, String.to_char_list!(format), args)
end
Something went wrong with that request. Please try again.