Skip to content

Commit

Permalink
Merge pull request #17 from gamepoet/elixir-0.13.2
Browse files Browse the repository at this point in the history
String.to_char_list! is now deprecated
  • Loading branch information
khia committed Jul 11, 2014
2 parents 1bef4af + 3110145 commit 6114e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lager.ex
Expand Up @@ -54,7 +54,7 @@ defmodule Lager do
defp log(level, format, args, caller) do
{name, _arity} = caller.function || {:unknown, 0}
module = caller.module || :unknown
if is_binary(format), do: format = String.to_char_list!(format)
if is_binary(format), do: format = List.from_char_data!(format)
if should_log(level) do
dispatch(level, module, name, caller.line, format, args)
end
Expand Down

0 comments on commit 6114e93

Please sign in to comment.