Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

12 řádky
453 B

před 15 roky
  1. -define(FAIL, throw({error, failed})).
  2. -define(ABORT(Str, Args), rebar_utils:abort(Str, Args)).
  3. -define(CONSOLE(Str, Args), io:format(Str, Args)).
  4. -define(DEBUG(Str, Args), rebar_log:log(debug, Str, Args)).
  5. -define(INFO(Str, Args), rebar_log:log(info, Str, Args)).
  6. -define(WARN(Str, Args), rebar_log:log(warn, Str, Args)).
  7. -define(ERROR(Str, Args), rebar_log:log(error, Str, Args)).
  8. -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).