Class DefaultFlattener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence flatten​(int logLevel, java.lang.String tag, java.lang.String message)
      Flatten the log.
      java.lang.CharSequence flatten​(long timeMillis, int logLevel, java.lang.String tag, java.lang.String message)
      Flatten the log.
      • Methods inherited from class java.lang.Object

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

      • DefaultFlattener

        public DefaultFlattener()
    • Method Detail

      • flatten

        public java.lang.CharSequence flatten​(int logLevel,
                                              java.lang.String tag,
                                              java.lang.String message)
        Description copied from interface: Flattener
        Flatten the log.
        Specified by:
        flatten in interface Flattener
        Parameters:
        logLevel - the level of log
        tag - the tag of log
        message - the message of log
        Returns:
        the formatted final log Charsequence
      • flatten

        public java.lang.CharSequence flatten​(long timeMillis,
                                              int logLevel,
                                              java.lang.String tag,
                                              java.lang.String message)
        Description copied from interface: Flattener2
        Flatten the log.
        Specified by:
        flatten in interface Flattener2
        Parameters:
        timeMillis - the time milliseconds of log
        logLevel - the level of log
        tag - the tag of log
        message - the message of log
        Returns:
        the formatted final log Charsequence