Class DefaultThreadFormatter

  • All Implemented Interfaces:
    Formatter<java.lang.Thread>, ThreadFormatter

    public class DefaultThreadFormatter
    extends java.lang.Object
    implements ThreadFormatter
    Formatted stack trace looks like:
    Thread: thread-name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.Thread data)
      Format the data to a readable and loggable string.
      • Methods inherited from class java.lang.Object

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

      • DefaultThreadFormatter

        public DefaultThreadFormatter()
    • Method Detail

      • format

        public java.lang.String format​(java.lang.Thread data)
        Description copied from interface: Formatter
        Format the data to a readable and loggable string.
        Specified by:
        format in interface Formatter<java.lang.Thread>
        Parameters:
        data - the data to format
        Returns:
        the formatted string data