public class LogMessage extends AbstractMessage
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(Attachment attachment)
Deprecated.
pass all attachments to
createEvent(Throwable, String, Attachment...) |
static IdeaLoggingEvent |
createEvent(java.lang.Throwable throwable,
java.lang.String userMessage,
Attachment... attachments) |
java.util.List<Attachment> |
getAllAttachments()
Returns a (possibly empty) list of all attachments.
|
java.lang.String |
getMessage()
Returns a user message (see
createEvent(java.lang.Throwable, java.lang.String, com.intellij.openapi.diagnostic.Attachment...)), if present. |
java.lang.Throwable |
getThrowable() |
java.lang.String |
getThrowableText() |
getAdditionalInfo, getAppInfo, getAssigneeId, getAttachments, getDate, getIncludedAttachments, getSubmissionInfo, isRead, isSubmitted, isSubmitting, setAdditionalInfo, setAppInfo, setAssigneeId, setOnReadCallback, setRead, setSubmitted, setSubmittingpublic java.lang.Throwable getThrowable()
getThrowable in class AbstractMessagepublic java.lang.String getThrowableText()
getThrowableText in class AbstractMessagepublic java.lang.String getMessage()
AbstractMessagecreateEvent(java.lang.Throwable, java.lang.String, com.intellij.openapi.diagnostic.Attachment...)), if present.getMessage in class AbstractMessagepublic java.util.List<Attachment> getAllAttachments()
AbstractMessagegetAllAttachments in class AbstractMessage@Deprecated public void addAttachment(Attachment attachment)
createEvent(Throwable, String, Attachment...)public static IdeaLoggingEvent createEvent(java.lang.Throwable throwable, java.lang.String userMessage, Attachment... attachments)
userMessage - user-friendly message description (short, single line if possible)attachments - attachments that will be suggested to include to the report