anchor.diff:          Message -> Message
       end;
   posix_error(Error) ->
  -    lists:flatten(io_lib:format("~p", [Error])).
  +    lists:flatten(lager_trunc_io:format("~p", [Error], 4096)).
   
   %% @private
   get_loglevels() ->
  
positive.code: log(Level, Pid, Message) ->
      Timestamp = lager_util:format_time(),
      Msg = [["[", atom_to_list(Level), "] "], io_lib:format("~p ", [Pid]),
          string:strip(lists:flatten(Message), right, $\n)],
      safe_notify(lager_util:level_to_num(Level), Timestamp, Msg).
  
  %% @doc Manually log a message into lager without using the parse transform.
  
negative.code:     ok | {error, lager_not_running}.
  log(Level, Module, Function, Line, Pid, Time, Message) ->
      Timestamp = lager_util:format_time(Time),
      Msg = [["[", atom_to_list(Level), "] "],
             io_lib:format("~p@~p:~p:~p ", [Pid, Module, Function, Line]),
             string_reduce(Message)],
      safe_notify(lager_util:level_to_num(Level), Timestamp, Msg).
  
  %% @private
  