Class AbstractLogSubject

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLogString()
      The logString that will be returned via toLogString
      void setLogString​(java.lang.String logString)  
      protected void setLogStringWithFormat​(java.lang.String format, java.lang.Object... args)
      Set the toString logging of this LogSubject.
      java.lang.String toLogString()
      toLogString is how the Logging infrastructure will get the text for this LogSubject
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • AbstractLogSubject

        public AbstractLogSubject()
    • Method Detail

      • setLogStringWithFormat

        protected void setLogStringWithFormat​(java.lang.String format,
                                              java.lang.Object... args)
        Set the toString logging of this LogSubject. Based on a format provided by format and the var args.
        Parameters:
        format - The Message to format
        args - The values to put in to the message.
      • toLogString

        public java.lang.String toLogString()
        toLogString is how the Logging infrastructure will get the text for this LogSubject
        Specified by:
        toLogString in interface LogSubject
        Returns:
        String representing this LogSubject
      • getLogString

        public java.lang.String getLogString()
        The logString that will be returned via toLogString
      • setLogString

        public void setLogString​(java.lang.String logString)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object