Log
From PatioWiki
Revision as of 09:40, 18 October 2011 by Daniel Héctor Stolfi Rosso (Talk | contribs)
A Log file from one Exercise consists in a XML file which is divided in four sections at the most:
- Header
- Here are defined the type of exercise, the pupil code, the date and mode of the execution and window's size in which the exercise has been executed.
- Exercise section
- Contains information about the exercise. This section is optional.
- AbstractLog section
- Contains the high-level events of the exercise.
- MouseLog section
- Contains the low-level events of the pointer device.
- PaintedPointsLog section
- Contains the low-level events of the drawing panel.
Notice that the data contained in the exercise and abstracLog sections depends on the exercise type.
Finally, in the mouseLog section only can be events of these kind:
- Pointer press.
- Pointer drag.
- Pointer release.
- Pointer activation.
While the paintedPointsLog section can also contains events of these kind:
- Colour change.
- Size change.
- Tool change.