This functionality is only available for certain module packages.

You are here: Reference > SCRIPTING > General methods > Logging > Generate log entries

Generate log entries

Several methods are available for creating log entries.

All methods have three overloads, i.e., they can be called with three different sets of parameters.

The following examples illustrate this on the basis of the info method:

The info(Object reportingInstance) method generates an entry with the following scheme:

<Datum> <Uhrzeit> [<Thread>] INFO User.<Name des Logger> - <ausgeführte Methode>

The info(Object reportingInstance, String message) method generates an entry with the following scheme:

<Datum> <Uhrzeit> [<Thread>] INFO User.<Name des Logger> - <message>

The info(Object reportingInstance, Throwable cause) method generates an entry with the following scheme:

<Datum> <Uhrzeit> [<Thread>] INFO User.<Name des Logger> - <Exception-Stacktrace>

These overloads can be applied to all of the methods listed above. The method most commonly used may surely be the one with the message passed.