View Source grisp_connect_log (grisp_connect v2.0.0)

Utility module to handle logs.

Summary

Types

get_options/0

-type get_options() :: #{max_batch_size => non_neg_integer(), max_byte_size => non_neg_integer()}.

sync_options/0

-type sync_options() :: #{seq := non_neg_integer(), dropped => non_neg_integer()}.

Functions

get(Opts)

-spec get(Opts :: get_options()) -> #{dropped := non_neg_integer(), events := list()}.

sync(Opts)

-spec sync(Opts :: sync_options()) -> ok.