Class LoggingUtils


  • public class LoggingUtils
    extends java.lang.Object
    This is LoggingUtils.
    Since:
    6.3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggingUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void error​(org.slf4j.Logger logger, java.lang.String msg)
      Error.
      static void error​(org.slf4j.Logger logger, java.lang.String msg, java.lang.Throwable throwable)
      Error.
      static void error​(org.slf4j.Logger logger, java.lang.Throwable throwable)
      Log Error.
      static void protocolMessage​(java.lang.String title, java.util.Map<java.lang.String,​java.lang.Object> context)
      Protocol message.
      static void protocolMessage​(java.lang.String title, java.util.Map<java.lang.String,​java.lang.Object> context, java.lang.Object message)
      Protocol message.
      static void warn​(org.slf4j.Logger logger, java.lang.String message, java.lang.Throwable throwable)
      Log warning.
      static void warn​(org.slf4j.Logger logger, java.lang.Throwable throwable)
      Log warning.
      • Methods inherited from class java.lang.Object

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

      • LoggingUtils

        public LoggingUtils()
    • Method Detail

      • protocolMessage

        public static void protocolMessage​(java.lang.String title,
                                           java.util.Map<java.lang.String,​java.lang.Object> context)
        Protocol message.
        Parameters:
        title - the title
        context - the context
      • protocolMessage

        public static void protocolMessage​(java.lang.String title,
                                           java.util.Map<java.lang.String,​java.lang.Object> context,
                                           java.lang.Object message)
        Protocol message.
        Parameters:
        title - the title
        context - the context
        message - the message
      • error

        public static void error​(org.slf4j.Logger logger,
                                 java.lang.String msg)
        Error.
        Parameters:
        logger - the logger
        msg - the msg
      • error

        public static void error​(org.slf4j.Logger logger,
                                 java.lang.String msg,
                                 java.lang.Throwable throwable)
        Error.
        Parameters:
        logger - the logger
        msg - the msg
        throwable - the throwable
      • error

        public static void error​(org.slf4j.Logger logger,
                                 java.lang.Throwable throwable)
        Log Error.
        Parameters:
        logger - the logger
        throwable - the throwable
      • warn

        public static void warn​(org.slf4j.Logger logger,
                                java.lang.Throwable throwable)
        Log warning.
        Parameters:
        logger - the logger
        throwable - the throwable
      • warn

        public static void warn​(org.slf4j.Logger logger,
                                java.lang.String message,
                                java.lang.Throwable throwable)
        Log warning.
        Parameters:
        logger - the logger
        message - the message
        throwable - the throwable