« Log file » : différence entre les versions

De GENIUS
Aller à la navigation Aller à la recherche
(Page créée avec « TBW ... Return to the introduction ↑ Go to the next page → »)
 
Aucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
TBW ...
<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.
 
If you do not want this possibility, you will have to call for the following method with these arguments:
 
<syntaxhighlight lang="java">
GEnvironment.setLogFilename(null, false);
</syntaxhighlight>
 
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.
 
<syntaxhighlight lang="java">
GEnvironment.setLogFilename("myLogFile.xml", true);
</syntaxhighlight>
 
You will have also the possibility to define which kind of information you will store, using the folloxing methods:
 
<syntaxhighlight lang="java">
GEnvironment.setWriteLogDataModififiedEvent(true/false);
GEnvironment.setWriteLogDataValidityEvent(true/false);
</syntaxhighlight>
 
''To be completed ...''
 


[[WELCOME_TO_THE_GENIUS_WIKI|Return to the introduction ↑]]  
[[WELCOME_TO_THE_GENIUS_WIKI|Return to the introduction ↑]]  
[[Update_data|Go to the next page →]]
[[Update_data|Go to the next page →]]

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 ...


Return to the introduction ↑ Go to the next page →