07.01.2022, 12:20
If you want to clear the list completely you can simply delete the storage entry:
You can remove a certain event from the list like this:
If you want to do this from the UI then it's more complicated. You need an additional .lp to handle delete requests.
Code:
storage.delete('eventlog')
You can remove a certain event from the list like this:
Code:
text = 'Fri 07/01/2022 14:13:51 example event'
storage.exec('lrem', 'eventlog', 0, text)
If you want to do this from the UI then it's more complicated. You need an additional .lp to handle delete requests.