Class LoggingUtils


  • @Internal
    public final class LoggingUtils
    extends java.lang.Object
    Utility methods to avoid verbosity of logging statements. Mostly used to help reduce the Cognitive Complexity of some methods.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void debug​(org.slf4j.Logger logger, java.lang.String message, java.lang.Object... args)
      Logs a message at the DEBUG level (only if it's enabled) according to the specified format and arguments.
      • Methods inherited from class java.lang.Object

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

      • debug

        public static void debug​(org.slf4j.Logger logger,
                                 java.lang.String message,
                                 java.lang.Object... args)
        Logs a message at the DEBUG level (only if it's enabled) according to the specified format and arguments.
        Parameters:
        logger - the SLF4J logger
        message - the format string
        args - a list of arguments