java.lang.Object
de.cuioss.tools.logging.LogRecordModel
- All Implemented Interfaces:
LogRecord
Represents a log-entry. Especially focuses on enforcing log-entry identifier,
see
LogRecord.getPrefix() and LogRecord.getIdentifier(). The template mechanism
is the same as with CuiLogger, saying it accepts as well '%s' and
'{}' as placeholder, even mixed. To simplify usage the prefix string will
always be prepended on calling format(Object...)- Author:
- Oliver Wolff
-
Method Details
-
getParsedMessageTemplate
-
format
Description copied from interface:LogRecordFormats the template with the given object. Important: it implicitly prepends the identifier, e.g. "CUI-100: " in front of the created message. -
supplier
Description copied from interface:LogRecordReturns aSupplierview on the formatter -
resolveIdentifierString
- Specified by:
resolveIdentifierStringin interfaceLogRecord- Returns:
- the concatenated identifier String, e.g. CUI-100
-