View Source grisp_connect_binlog (grisp_connect v2.0.0)

Ring buffer for storing logger logs

This module extends a standard queue into a ring buffer. It can be truncated once a batch of logs has been sent out and is not needed anymore.

Summary

Functions

bytes(Binlog)

count(Binlog)

defaults(_)

insert(Item, Binlog)

items(Binlog)

new()

new(Opts)

opts(Binlog)

peek(Count, Binlog)

seq(Binlog)

truncate(To, Binlog)