Class LogUtil

java.lang.Object
ch.kk7.confij.logging.LogUtil

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

    Constructors
    Constructor Description
    LogUtil()  
  • Method Summary

    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 Details

    • LogUtil

      public LogUtil()
  • Method Details

    • 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)