Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

14 wiersze
630 B

15 lat temu
  1. %% TODO: rename FAIL to ABORT once we require at least R13B04 for
  2. %% building rebar. Macros with different arity were not supported by the
  3. %% compiler before 13B04.
  4. -define(FAIL, rebar_utils:abort()).
  5. -define(ABORT(Str, Args), rebar_utils:abort(Str, Args)).
  6. -define(CONSOLE(Str, Args), io:format(Str, Args)).
  7. -define(DEBUG(Str, Args), rebar_log:log(debug, Str, Args)).
  8. -define(INFO(Str, Args), rebar_log:log(info, Str, Args)).
  9. -define(WARN(Str, Args), rebar_log:log(warn, Str, Args)).
  10. -define(ERROR(Str, Args), rebar_log:log(standard_error, error, Str, Args)).
  11. -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).