public interface Message
getUniqueId()
.Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Get the date that this message was logged on.
|
ExceptionDescriptor |
getExceptionDescriptor()
Get data about exception included in this message.
|
List<String> |
getLines()
Get each line of the message.
|
List<String> |
getLinesWithoutMetadata()
Get each line of the message, with metadata stripped out.
|
String |
getLogger()
Will return the name of the logger that was used to write the log
message.
|
Message |
getPreviousMessage()
Return a message that preceded this one in the same log stream.
|
MessageSeverity |
getSeverity() |
MessageType |
getType() |
long |
getUniqueId()
Unique ID of the message, that can be used to compare messages in the
order of their arrival into this tool.
|
boolean |
hasException() |
Date getDate()
Date
with the message log
timestamp.ExceptionDescriptor getExceptionDescriptor()
hasException()
returns true. Null in
any other case.List<String> getLines()
List<String> getLinesWithoutMetadata()
String getLogger()
Message getPreviousMessage()
getType()
== MessageType.TAG
.MessageSeverity getSeverity()
MessageType getType()
long getUniqueId()
boolean hasException()
Copyright © 2014. All rights reserved.