« Log file » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<font color=#556B2F>'''GENIUS'''</font> proposes to manage a log file that will record your actions. This is, up to now, the default mode, so you will not have to do anything then a log file named '''Genius.log''' will be automatically created at the same place you will have started your process. | <font color=#556B2F>'''GENIUS'''</font> proposes to manage a log file that will record your actions. This is, up to now, the default mode, so you will not have to do anything then a log file named '''Genius.log''' will be automatically created at the same place you will have started your process. | ||
Dernière version du 15 mai 2017 à 08:51
GENIUS proposes to manage a log file that will record your actions. This is, up to now, the default mode, so you will not have to do anything then a log file named Genius.log will be automatically created at the same place you will have started your process.
If you do not want this possibility, you will have to call for the following method with these arguments:
GEnvironment.setLogFilename(null, false);
On the contrary, using the same method, you will have the possibility to specify another name for the log file as well as the creation of a logEventTable if the second argument is true.
GEnvironment.setLogFilename("myLogFile.xml", true);
You will have also the possibility to define which kind of information you will store, using the folloxing methods:
GEnvironment.setWriteLogDataModififiedEvent(true/false);
GEnvironment.setWriteLogDataValidityEvent(true/false);
To be completed ...