public class Protocols extends Object implements sirius.kernel.health.LogTap, sirius.kernel.health.ExceptionHandler, sirius.web.mails.MailLog
Modifier and Type | Field and Description |
---|---|
static String |
FRAMEWORK_JOURNAL
Names the framework which must be enabled to activate the system journal.
|
static String |
FRAMEWORK_PROTOCOLS
Names the framework which must be enabled to activate all protocol features.
|
static String |
PERMISSION_SYSTEM_JOURNAL
Names the permissions required to view the system journal.
|
static String |
PERMISSION_SYSTEM_PROTOCOLS
Names the permissions required to view the protocol.
|
Constructor and Description |
---|
Protocols() |
Modifier and Type | Method and Description |
---|---|
void |
handle(sirius.kernel.health.Incident incident) |
void |
handleLogMessage(sirius.kernel.health.LogMessage message) |
void |
logSentMail(boolean success,
String messageId,
String sender,
String senderName,
String receiver,
String receiverName,
String subject,
String text,
String html,
String type) |
protected boolean |
shouldNotLog(sirius.kernel.health.LogMessage message) |
public static final String FRAMEWORK_PROTOCOLS
public static final String FRAMEWORK_JOURNAL
public static final String PERMISSION_SYSTEM_PROTOCOLS
public static final String PERMISSION_SYSTEM_JOURNAL
public void handle(sirius.kernel.health.Incident incident) throws Exception
handle
in interface sirius.kernel.health.ExceptionHandler
Exception
public void handleLogMessage(sirius.kernel.health.LogMessage message)
handleLogMessage
in interface sirius.kernel.health.LogTap
protected boolean shouldNotLog(sirius.kernel.health.LogMessage message)
Copyright © 2018. All rights reserved.