elvis_utils (elvis_core v5.0.3)

View Source

Summary

Functions

abort(Format, Data)

-spec abort(Format :: io:format(), Data :: [term()]) -> no_return().

debug(Format, Data)

-spec debug(string(), [term()]) -> string().

erlang_halt(Code)

-spec erlang_halt(integer()) -> no_return().

error(Format, Data)

-spec error(string(), [term()]) -> string().

info(Format, Data)

-spec info(string(), [term()]) -> string().

list_to_str(What)

-spec list_to_str([term()]) -> string().

notice(Format, Data)

-spec notice(string(), [term()]) -> string().

split_all_lines(Binary)

-spec split_all_lines(binary()) -> [binary(), ...].

split_all_lines(Binary, Opts)

-spec split_all_lines(binary(), list()) -> [binary()].

to_str(Arg)

-spec to_str(binary() | list() | atom() | integer()) -> string().

warn(Format, Data)

-spec warn(string(), [term()]) -> string().