Skip navigation links
Thingworx Platform API
9.0.0
com.thingworx.logging

Class LogUtilities

  • java.lang.Object
    • com.thingworx.logging.LogUtilities
    • Constructor Summary

      Constructors 
      Constructor and Description
      LogUtilities() 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ch.qos.logback.classic.Logger getApplicationLogger(java.lang.Class<?> subLoggerClass) 
      ch.qos.logback.classic.Logger getApplicationLogger(java.lang.Class<?> baseClass, java.lang.String subLoggerName) 
      ch.qos.logback.classic.Logger getApplicationLogger(java.lang.String subLoggerName) 
      ch.qos.logback.classic.Logger getCommunicationLogger(java.lang.Class<?> subLoggerClass) 
      ch.qos.logback.classic.Logger getCommunicationLogger(java.lang.String subLoggerName) 
      ch.qos.logback.classic.Logger getConfigurationLogger(java.lang.Class<?> subLoggerClass) 
      ch.qos.logback.classic.Logger getConfigurationLogger(java.lang.String subLoggerName) 
      static LogUtilities getInstance() 
      ch.qos.logback.classic.Logger getScriptLogger(java.lang.Class<?> subLoggerClass) 
      ch.qos.logback.classic.Logger getScriptLogger(java.lang.String subLoggerName) 
      ch.qos.logback.classic.Logger getSecurityLogger(java.lang.Class<?> subLoggerClass) 
      ch.qos.logback.classic.Logger getSecurityLogger(java.lang.String subLoggerName) 
      static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x) 
      static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x, boolean dumpStack) 
      static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg) 
      static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg, boolean dumpStack) 
      static void logInstanceDebug(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg) 
      static void logInstanceDebug(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params) 
      static void logInstanceError(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg) 
      static void logInstanceError(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params) 
      static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x) 
      static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x, boolean dumpStack) 
      static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg) 
      static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg, boolean dumpStack) 
      static void logInstanceInfo(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg) 
      static void logInstanceInfo(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params) 
      static void logInstanceTrace(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg) 
      static void logInstanceTrace(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params) 
      static void logInstanceWarn(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg) 
      static void logInstanceWarn(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params) 
      static void setLoggerLevel(java.lang.String className, ch.qos.logback.classic.Level logLevel) 
      • Methods inherited from class java.lang.Object

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

      • MAX_FILE_HISTORY

        public static final java.lang.Integer MAX_FILE_HISTORY
      • MAX_FILE_SIZE_IN_KB

        public static final java.lang.Integer MAX_FILE_SIZE_IN_KB
      • MAX_TOTAL_SIZE_CAP_IN_GB

        public static final java.lang.Integer MAX_TOTAL_SIZE_CAP_IN_GB
      • DEFAULT_TOTAL_SIZE_CAP_IN_GB

        public static final java.lang.Integer DEFAULT_TOTAL_SIZE_CAP_IN_GB
    • Constructor Detail

      • LogUtilities

        public LogUtilities()
    • Method Detail

      • logInstanceExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceExceptionDetails(java.lang.String instanceName,
                                                                                                 java.lang.Class<?> loggerClass,
                                                                                                 java.lang.Throwable x)
      • logInstanceExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceExceptionDetails(java.lang.String instanceName,
                                                                                                 java.lang.Class<?> loggerClass,
                                                                                                 java.lang.Throwable x,
                                                                                                 java.lang.String msg)
      • logInstanceExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceExceptionDetails(java.lang.String instanceName,
                                                                                                 java.lang.Class<?> loggerClass,
                                                                                                 java.lang.Throwable x,
                                                                                                 boolean dumpStack)
      • logInstanceExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceExceptionDetails(java.lang.String instanceName,
                                                                                                 java.lang.Class<?> loggerClass,
                                                                                                 java.lang.Throwable x,
                                                                                                 java.lang.String msg,
                                                                                                 boolean dumpStack)
      • logInstanceError

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceError(java.lang.String instanceName,
                                                                                      org.slf4j.Logger logger,
                                                                                      java.lang.String msg)
      • logInstanceError

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceError(java.lang.String instanceName,
                                                                                      org.slf4j.Logger logger,
                                                                                      java.lang.String msg,
                                                                                      java.lang.Object... params)
      • logExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logExceptionDetails(java.lang.Class<?> loggerClass,
                                                                                         java.lang.Throwable x,
                                                                                         java.lang.String msg)
      • logExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logExceptionDetails(java.lang.Class<?> loggerClass,
                                                                                         java.lang.Throwable x,
                                                                                         boolean dumpStack)
      • logExceptionDetails

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logExceptionDetails(java.lang.Class<?> loggerClass,
                                                                                         java.lang.Throwable x,
                                                                                         java.lang.String msg,
                                                                                         boolean dumpStack)
      • logInstanceWarn

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceWarn(java.lang.String instanceName,
                                                                                     org.slf4j.Logger logger,
                                                                                     java.lang.String msg)
      • logInstanceWarn

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceWarn(java.lang.String instanceName,
                                                                                     org.slf4j.Logger logger,
                                                                                     java.lang.String msg,
                                                                                     java.lang.Object... params)
      • logInstanceInfo

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceInfo(java.lang.String instanceName,
                                                                                     org.slf4j.Logger logger,
                                                                                     java.lang.String msg)
      • logInstanceInfo

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceInfo(java.lang.String instanceName,
                                                                                     org.slf4j.Logger logger,
                                                                                     java.lang.String msg,
                                                                                     java.lang.Object... params)
      • logInstanceDebug

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceDebug(java.lang.String instanceName,
                                                                                      org.slf4j.Logger logger,
                                                                                      java.lang.String msg)
      • logInstanceDebug

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceDebug(java.lang.String instanceName,
                                                                                      org.slf4j.Logger logger,
                                                                                      java.lang.String msg,
                                                                                      java.lang.Object... params)
      • logInstanceTrace

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceTrace(java.lang.String instanceName,
                                                                                      org.slf4j.Logger logger,
                                                                                      java.lang.String msg)
      • logInstanceTrace

        @ThingworxExtensionApiMethod(since={6,6})
        public static void logInstanceTrace(java.lang.String instanceName,
                                                                                      org.slf4j.Logger logger,
                                                                                      java.lang.String msg,
                                                                                      java.lang.Object... params)
      • getApplicationLogger

        @ThingworxExtensionApiMethod(since={6,6})
        public ch.qos.logback.classic.Logger getApplicationLogger(java.lang.Class<?> baseClass,
                                                                                                            java.lang.String subLoggerName)