Class MessageLoggerIntoString
Object
MessageLoggerIntoString
- All Implemented Interfaces:
MessageLogger
Logs error messages into a
String via StringBuilder.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a message.voidlogFormatted(String formatString, Object... args) Logs a message, derived from a format-string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.core.log.MessageLogger
logEmptyLine
-
Constructor Details
-
MessageLoggerIntoString
-
-
Method Details
-
log
Description copied from interface:MessageLoggerLogs a message.- Specified by:
login interfaceMessageLogger- Parameters:
message- the message to log.
-
logFormatted
Description copied from interface:MessageLoggerLogs a message, derived from a format-string.- Specified by:
logFormattedin interfaceMessageLogger- Parameters:
formatString- a format string like inString.format(java.lang.String, java.lang.Object...).args- the arguments that match the placeholder informatStringlike inString.format(java.lang.String, java.lang.Object...).
-