Permalink
Browse files

Update lib/lager.ex

Use to_char_list
  • Loading branch information...
1 parent 6a32e56 commit 4152858bfb058b9e2fc91cd7df9270ecb621a019 @yrashk committed Sep 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/lager.ex
View
@@ -5,7 +5,7 @@ defmodule Lager do
contents =
quote do
def unquote(level).(msg) do
- log(unquote(level), msg)
+ log(unquote(level), to_char_list(msg))
end
def unquote(level).(format, args) do
log(unquote(level), format, args)

0 comments on commit 4152858

Please sign in to comment.