Log
From PatioWiki
Revision as of 15:38, 24 October 2011 by Daniel Héctor Stolfi Rosso (Talk | contribs)
When an Exercise has been done, a Log file is generated. It is an XML file which is divided into four sections at the most:
- Header
- Here are defined the type of exercise, the pupil code, the date and mode of the execution and the window's size in which the exercise has been executed.
- Exercise section
- It contains information about the exercise. This section is optional.
- AbstractLog section
- It contains the high-level events of the exercise.
- MouseLog section
- It contains the low-level events of the pointer device.
- PaintedPointsLog section
- It contains the low-level events of the drawing panel.
Note that the data in the exercise and abstracLog sections depends on the exercise type.
Finally, in the mouseLog section there can only be events of these kinds:
- Pointer press.
- Pointer drag.
- Pointer release.
- Pointer activation.
While the paintedPointsLog section can also contain events of the following types:
- Colour change.
- Size change.
- Tool change.