anchor.diff:  replace_logfun(_, Form, _Ctxt, Acc) ->
       {Form, Acc}.
   
  +-spec update_args([stxtree(), ...]) -> [stxtree(), ...].
   update_args([Format|Args]) ->
       Format2 = case erl_syntax:type(Format) of
                     tuple ->
  
positive.code: -module(alog_pt).
  -export([parse_transform/2]).
  
  -define(LOGMOD, alog_app).
  -define(LOGFUN, testlog).
  
  -type form()    :: any().
  -type forms()   :: [form()].
  -type options() :: [{atom(), any()}].
  
  -spec parse_transform(forms(), options()) -> forms().
  parse_transform(Forms, Opts) ->
      {NewForms, _} = parse_trans:depth_first(fun replace_logfun/4, [],
                                              Forms, Opts),
      parse_trans:revert(NewForms).
  
  replace_logfun(application, Form, _Ctxt, Acc) ->
      MFA = erl_syntax_lib:analyze_application(Form),
      case MFA of
  
negative.code:               end,
      [Format2|Args].
  
  -spec build_format(stxtree()) -> stxtree().
  build_format(Format) ->
      Elems = erl_syntax:tuple_elements(Format),
      {FStrsR, VarsR} = lists:foldl(fun elems_folder/2, {[], []}, Elems),
  