org.jalore
Interface LogMessage

All Known Implementing Classes:
LogMessageImpl

public interface LogMessage

Message extracted from a log.

Author:
Nicolas Dutertry

Method Summary
 java.lang.String getCompleteMessage()
          Returns the complete message.
 java.lang.String getExtraLines()
          Returns the extra lines or null if this message doesn't contain any extra line.
 java.lang.String getFirstLine()
          Returns the first line of the message.
 java.util.Map<java.lang.String,java.lang.String> getProperties()
          Returns the properties associated with this message.
 java.lang.String getProperty(java.lang.String name)
          Returns a property value.
 void setProperty(java.lang.String name, java.lang.String value)
          Sets a property.
 

Method Detail

getFirstLine

java.lang.String getFirstLine()
Returns the first line of the message.


getExtraLines

java.lang.String getExtraLines()
Returns the extra lines or null if this message doesn't contain any extra line.


getCompleteMessage

java.lang.String getCompleteMessage()
Returns the complete message.


getProperties

java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns the properties associated with this message. Properties contains elements identifying the message like timestamp, thread name, MDC, etc.


getProperty

java.lang.String getProperty(java.lang.String name)
Returns a property value.

Parameters:
name - property name

setProperty

void setProperty(java.lang.String name,
                 java.lang.String value)
Sets a property.

Parameters:
name - property name
value - property value


Copyright © 2009 Nicolas Dutertry. All Rights Reserved.