This functionality is only available for certain module packages.

Generating 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 creates an entry with the following scheme:

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

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

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

The info(Object reportingInstance, Throwable cause) method creates 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.