com.ibm.tivoli.maximo.log

Class MaxLoggerContext

  • java.lang.Object
    • com.ibm.tivoli.maximo.log.MaxLoggerContext


  • public class MaxLoggerContext
    extends java.lang.Object
    Integration context class wihich will be associated with specific ThreadLocal
    • Method Detail

      • isThreadLoggingOn

        public static boolean isThreadLoggingOn()
      • hasLogger

        public boolean hasLogger(java.lang.String loggerName)
      • isLoggerAtInfo

        public boolean isLoggerAtInfo(java.lang.String loggerName)
      • getAppender

        public org.apache.logging.log4j.core.Appender getAppender()
      • registerLogger

        public void registerLogger(Log4jLogger logger)
      • getCurrentContext

        public static MaxLoggerContext getCurrentContext()
        Returns Integration Context
        Returns:
        the current IntegrationContext for this thread
      • destroyCurrentContext

        public static void destroyCurrentContext()
      • getContextId

        public java.lang.String getContextId()