public class AuditLog extends Object implements sirius.kernel.di.Initializable
Modifier and Type | Class and Description |
---|---|
class |
AuditLog.AuditLogBuilder
Fluent builder for audit logs.
|
Constructor and Description |
---|
AuditLog() |
Modifier and Type | Method and Description |
---|---|
void |
initialize() |
AuditLog.AuditLogBuilder |
negative(String messageKey)
Prepares a "negative" entry to be inserted into the log.
|
AuditLog.AuditLogBuilder |
neutral(String messageKey)
Prepares a "neutral" entry to be inserted into the log.
|
public void initialize() throws Exception
initialize
in interface sirius.kernel.di.Initializable
Exception
@CheckReturnValue public AuditLog.AuditLogBuilder neutral(String messageKey)
Note that a builder is returned and eventually AuditLog.AuditLogBuilder.log()
has to be called.
messageKey
- the message key (i18n key) to log@CheckReturnValue public AuditLog.AuditLogBuilder negative(String messageKey)
Note that a builder is returned and eventually AuditLog.AuditLogBuilder.log()
has to be called.
messageKey
- the message key (i18n key) to logCopyright © 2018. All rights reserved.