View Source Baby.Util (Baby v0.10.0)
Utility functions for use across the codebase
Summary
Functions
Standardised connection activity logging for the supplied state
dir
: :in
, :out
, :both
msg
: a protocol message type atom
level
: log lvel atom (default: :debug
)
Returns tuples of the endpoints of the widest continuous ranges in a list of integers
Functions
Standardised connection activity logging for the supplied state
dir
: :in
, :out
, :both
msg
: a protocol message type atom
level
: log lvel atom (default: :debug
)
Returns tuples of the endpoints of the widest continuous ranges in a list of integers