The current documentation reads:
type Logs = Log[]
interface Log {
// The log method
method: Methods
// The arguments passed to console API
data: any[]
}
However, id seems to be supported and is used for the list key prop. This helped me resolve a bug in my application where we start to mutate the logs array once a max length is reached, while new logs are still coming in.
If desired, I can open a PR to update the README.
The current documentation reads:
However,
idseems to be supported and is used for the listkeyprop. This helped me resolve a bug in my application where we start to mutate thelogsarray once a max length is reached, while new logs are still coming in.If desired, I can open a PR to update the README.