13.1 PDPLog Variables

File log_file
File to use for saving the log. This field is set by using the File Requester (see section 6.19 File Requester), or by using the log function SetSaveFile(). This field can be set to NULL in which case there is no file i/o.
int log_lines
The number of lines recorded so far in the log. This number is incremented each time the log receives a new line of input.
DataTable data
Holds and provides organization for the information sent to the log. It can be viewed with the color Datatable Viewer.
int data_bufsz
The size in lines of the log buffer. If the log overflows the buffer size, information is dropped from the beginning of the Log and the buffer is "scrolled" by data_shift to make room for the new data.
float data_shift
The percentage of the buffer to shift upon overflow.
MinMax data_range
A structure containing the minimum and maximum line values of the log s buffer's view of the data in the log_file.
Process_Group log_proc
A link group of processes which log information to this log
Process* cur_proc
A pointer to the current (most recent) process to send information to this log.