Log

From PatioWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with 'A Log file from one Exercise consists in a [http://en.wikipedia.org/wiki/XML XML] file which is divided at the most in four sections: ; Cabecera : En…')
 
(One intermediate revision not shown)
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 at the most in four sections:
+
When an [[:Category:Exercises|Exercise]] has been done, a [[Log]] file is generated. It is an [http://en.wikipedia.org/wiki/XML XML] file which is divided into four sections at the most:
-
; Cabecera
+
; Header
-
: En donde se define el tipo de ejercicio, el código del alumno, la fecha y hora de ejecución, el modo de ejecución y el tamaño de la ventana en dónde se ejecutó.
+
: 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.
-
; Sección ''exercise''  
+
; ''Exercise'' section
-
: Proporciona información respecto a la configuración del juego. Esta sección es opcional.
+
: It contains information about the exercise. This section is optional.
-
; Sección ''abstractLog''
+
; ''AbstractLog'' section
-
: Contiene los eventos de alto nivel del juego.
+
: It contains the high-level events of the exercise.
-
; Sección ''mouseLog''
+
; ''MouseLog'' section
-
: Contiene los eventos de bajo nivel correspondientes al puntero.
+
: It contains the low-level events of the pointer device.
-
; Sección ''paintedPointsLog''
+
; ''PaintedPointsLog'' section
-
: Contiene los eventos de bajo nivel correspondientes al panel de dibujo.
+
: It contains the low-level events of the drawing panel.
-
Nótese que mientras la información situada dentro de las secciones ''exercise'' y ''abstracLog'' dependerá principalmente del tipo de ejercicio.
+
Note that the data in the ''exercise'' and ''abstracLog'' sections depends on the exercise type.
-
Por último, dentro de la sección ''mouseLog'' sólo se admitirán eventos del tipo:
+
Finally, in the ''mouseLog'' section there can only be events of these kinds:
-
* Pulsación del puntero.
+
* Pointer press.
-
* Arrastre del puntero.
+
* Pointer drag.
-
* Liberación del puntero.  
+
* Pointer release.  
-
* Activación del puntero.
+
* Pointer activation.
-
Mientras que dentro de la sección ''paintedPointsLog'' podrán encontrarse también los siguientes tipos de eventos de dibujo:
+
While the ''paintedPointsLog'' section can also contain events of the following types:
-
* Cambio de color.
+
* Colour change.
-
* Cambio de tamaño.
+
* Size change.
-
* Cambio de herramienta.
+
* Tool change.
[[es: Log]]
[[es: Log]]

Current revision as of 15:38, 24 October 2011

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.
Personal tools
In other languages