Log file

De GENIUS
Révision datée du 15 mai 2017 à 08:51 par Admin (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

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 →