struct log(int IDFrom, int NumberOfEntries)
This method returns entries from screen’s log-buffer. The size of this buffer is limited and can be set via option LogBufferSize. Which messages should be saved to screen-log and which should be saved to log-file can be set via options DetailTarget, InfoTarget, WarningTarget, ErrorTarget and DebugTarget.
NOTE: only one parameter - either IDFrom or NumberOfEntries - can be specified. The other parameter must be “0”.
TIP: If your application stores log-entries between sub-sequential calls to method log(), the usage of parameter IDFrom is recommended, since it reduces the amount of transferred data.
This method returns array of structures with following fields:
NOTE: if there are no entries for requested criteria, an empty array is returned.