Package com.polarion.platform.jobs
Interface IStructuredLogMessage
- All Superinterfaces:
IXMLRepresentable
Structured log message for
ILogger
.
Tags are values representing for example message category, source etc.
XML representation may include some or all tags (but it is uncommon).
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetTags()
Return all available tag names.getTagValue
(String tag) Return tag value.toString()
String representation of this message.Methods inherited from interface com.polarion.platform.jobs.IXMLRepresentable
representAsXMLElement
-
Method Details
-
getTags
Collection getTags()Return all available tag names.- Returns:
Collection
ofString
tag names (notnull
)
-
getTagValue
Return tag value.Some tags may implement
IXMLRepresentable
.- Parameters:
tag
- tag name- Returns:
- tag value (not
null
) - Throws:
IllegalArgumentException
- if tag isnull
-
toString
String toString()String representation of this message.It may or may not include all or some tags.
-