Class LogUtil


  • public class LogUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LogUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String formatLog​(java.lang.String template, java.lang.Object... args)  
      static java.util.function.Supplier<java.lang.String> formatLogSupplier​(java.lang.String template, java.lang.Object... args)  
      static java.lang.Throwable throwableOrNull​(java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

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

      • LogUtil

        public LogUtil()
    • Method Detail

      • formatLog

        public static java.lang.String formatLog​(java.lang.String template,
                                                 java.lang.Object... args)
      • formatLogSupplier

        public static java.util.function.Supplier<java.lang.String> formatLogSupplier​(java.lang.String template,
                                                                                      java.lang.Object... args)
      • throwableOrNull

        public static java.lang.Throwable throwableOrNull​(java.lang.Object... args)