onLogDiscarded property

void Function(LogItem discardedItem)? onLogDiscarded
getter/setter pair

Called when the log queue is full and the oldest log is about to be discarded. Receives the LogItem being removed.

Implementation

static void Function(LogItem discardedItem)? onLogDiscarded;