Log
From PatioWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | A [[Log]] file from one [[:Category:Exercises|Exercise]] consists in a [http://en.wikipedia.org/wiki/XML XML] file which is divided | + | A [[Log]] file from one [[:Category:Exercises|Exercise]] consists in a [http://en.wikipedia.org/wiki/XML 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. |
[[es: Log]] | [[es: Log]] |
Revision as of 09:40, 18 October 2011
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.