Module lager_util

Function Index

calculate_next_rotation/1
check_hwm/1
check_hwm/2
check_traces/4
config_to_levels/1
config_to_mask/1
create_test_dir/0
delete_test_dir/1
expand_path/1
find_file/2
format_time/0
format_time/1
is_loggable/3
level_to_chr/1
level_to_num/1
levels/0
localtime_ms/0
localtime_ms/1
mask_to_levels/1
maybe_flush/2
maybe_utc/1
num_to_level/1
otp_version/0Return the major version of the current Erlang/OTP runtime as an integer.
parse_rotation_date_spec/1
trace_filter/1
trace_filter/2
validate_trace/1

Function Details

calculate_next_rotation/1

calculate_next_rotation(Spec) -> any()

check_hwm/1

check_hwm(Shaper) -> any()

check_hwm/2

check_hwm(Shaper, Event) -> any()

check_traces/4

check_traces(Attrs, Level, Flows, Acc) -> any()

config_to_levels/1

config_to_levels(Conf::atom() | string()) -> [lager:log_level()]

config_to_mask/1

config_to_mask(Conf::atom() | string()) -> {mask, integer()}

create_test_dir/0

create_test_dir() -> any()

delete_test_dir/1

delete_test_dir(Dir) -> any()

expand_path/1

expand_path(RelPath) -> any()

find_file/2

find_file(File1, Handlers) -> any()

format_time/0

format_time() -> any()

format_time/1

format_time(X1) -> any()

is_loggable/3

is_loggable(Msg::lager_msg:lager_msg(), SeverityThreshold::non_neg_integer() | {mask, non_neg_integer()}, MyName::term()) -> boolean()

level_to_chr/1

level_to_chr(X1) -> any()

level_to_num/1

level_to_num(X1) -> any()

levels/0

levels() -> any()

localtime_ms/0

localtime_ms() -> any()

localtime_ms/1

localtime_ms(Now) -> any()

mask_to_levels/1

mask_to_levels(Mask::non_neg_integer()) -> [lager:log_level()]

maybe_flush/2

maybe_flush(Flag, Lager_shaper) -> any()

maybe_utc/1

maybe_utc(X1) -> any()

num_to_level/1

num_to_level(X1) -> any()

otp_version/0

otp_version() -> pos_integer()

Return the major version of the current Erlang/OTP runtime as an integer.

parse_rotation_date_spec/1

parse_rotation_date_spec(T) -> any()

trace_filter/1

trace_filter(Query::none | [tuple()]) -> {ok, any()}

trace_filter/2

trace_filter(Module, Query) -> any()

validate_trace/1

validate_trace(X1) -> any()


Generated by EDoc