Using the built-in device log

Hello,

I need to implement a basic event log functionality and I was wondering if it is possible to use the built in device log for that purpose:

If it is possible what is the maximum number of events that can be stored?

Thanks,
Borislav