Class MessageFormattingUtils


  • public final class MessageFormattingUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String format​(Location location, java.lang.CharSequence message)
      Format a log message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageFormattingUtils

        public MessageFormattingUtils()
    • Method Detail

      • format

        public static java.lang.String format​(Location location,
                                              java.lang.CharSequence message)
        Format a log message.
        Parameters:
        location - Referenced file location
        message - Message
        Returns:
        Formatted string with location prepended to message.