View Source grisp_connect_logger_bin (grisp_connect v2.1.0)

Log handler and formatter for the logger app

It is optimized to use a fixed size ring buffer and return chucks of older logs first while storing new ones. It can be synched to discard old logs if they are not needed anymore. If the buffer is filled, oldest logs are dropped and a fake logger event is inserted to inform the user.

Link to this section Summary

Link to this section Functions

Link to this function

changing_config(SetOrUpdate, OldConfig, NewConfig)

View Source
Link to this function

check_config(Name, SetOrUpdate, OldHConfig, NewHConfig0)

View Source
Link to this function

chunk(MaxCount, MaxBytes)

View Source
Link to this function

config_changed(Name, NewHConfig, State)

View Source
Link to this function

filesync(Name, SyncAsync, State)

View Source
Link to this function

handle_info(_, _, State)

View Source
Link to this function

removing_handler(Config)

View Source
Link to this function

reset_state(Name, State)

View Source
Link to this function

sync(Seq, DroppedConfirmed)

View Source
Link to this function

terminate(Name, Reason, State)

View Source
Link to this function

write(Name, _, Bin, State)

View Source