@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class LogUtilities extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
MAX_FILE_HISTORY |
static java.lang.Integer |
MAX_FILE_SIZE_IN_KB |
Constructor and Description |
---|
LogUtilities() |
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) |
public static final java.lang.Integer MAX_FILE_HISTORY
public static final java.lang.Integer MAX_FILE_SIZE_IN_KB
@ThingworxExtensionApiMethod(since={6,6}) public static LogUtilities getInstance()
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceExceptionDetails(java.lang.String instanceName, java.lang.Class<?> loggerClass, java.lang.Throwable x, boolean dumpStack)
@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)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceError(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceError(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params)
@ThingworxExtensionApiMethod(since={6,6}) public static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x)
@ThingworxExtensionApiMethod(since={6,6}) public static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x, boolean dumpStack)
@ThingworxExtensionApiMethod(since={6,6}) public static void logExceptionDetails(java.lang.Class<?> loggerClass, java.lang.Throwable x, java.lang.String msg, boolean dumpStack)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceWarn(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceWarn(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceInfo(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceInfo(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceDebug(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceDebug(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceTrace(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg)
@ThingworxExtensionApiMethod(since={6,6}) public static void logInstanceTrace(java.lang.String instanceName, org.slf4j.Logger logger, java.lang.String msg, java.lang.Object... params)
@ThingworxExtensionApiMethod(since={6,6}) public static void setLoggerLevel(java.lang.String className, ch.qos.logback.classic.Level logLevel)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getApplicationLogger(java.lang.Class<?> subLoggerClass)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getApplicationLogger(java.lang.String subLoggerName)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getApplicationLogger(java.lang.Class<?> baseClass, java.lang.String subLoggerName)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getConfigurationLogger(java.lang.Class<?> subLoggerClass)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getConfigurationLogger(java.lang.String subLoggerName)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getSecurityLogger(java.lang.Class<?> subLoggerClass)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getSecurityLogger(java.lang.String subLoggerName)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getCommunicationLogger(java.lang.Class<?> subLoggerClass)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getCommunicationLogger(java.lang.String subLoggerName)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getScriptLogger(java.lang.Class<?> subLoggerClass)
@ThingworxExtensionApiMethod(since={6,6}) public ch.qos.logback.classic.Logger getScriptLogger(java.lang.String subLoggerName)