Package com.microstrategy.webapi.acm
Class Log
- java.lang.Object
-
- com.microstrategy.utils.log.LoggerConfigurator
-
- com.microstrategy.webapi.acm.Log
-
public class Log extends LoggerConfigurator
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.String
getClassName(int iDepth)
getClassName of the class on the call stack.protected static java.lang.String
getMethodName(int iDepth)
getMethodName of the method on the call stack.static void
log(Logger iLogger, int iDelegationLevel, Level iLevel, java.lang.String iMessage)
log will log to the input iLogger.static void
log(Logger iLogger, int iDelegationLevel, Level iLevel, java.lang.String iMessage, java.lang.Object iSingleArg)
log will log to the input iLogger.static void
log(Logger iLogger, int iDelegationLevel, Level iLevel, java.lang.String iMessage, java.lang.Throwable iThrowable)
log will log to the input iLogger.static void
log(Logger iLogger, Level iLevel, java.lang.String iMessage)
log will log to the input iLogger.static void
log(Logger iLogger, Level iLevel, java.lang.String iMessage, java.lang.Object iSingleArg)
log will log to the input iLogger.static void
log(Logger iLogger, Level iLevel, java.lang.String iMessage, java.lang.Throwable iThrowable)
log will log to the input iLogger.-
Methods inherited from class com.microstrategy.utils.log.LoggerConfigurator
createLogger
-
-
-
-
Field Detail
-
logger
public static final Logger logger
-
-
Method Detail
-
log
public static void log(Logger iLogger, Level iLevel, java.lang.String iMessage, java.lang.Object iSingleArg)
log will log to the input iLogger. The method name and class name are not resolved unless the log level is currently loggable- Parameters:
iLogger
-iLevel
-iMessage
-iSingleArg
-
-
log
public static void log(Logger iLogger, int iDelegationLevel, Level iLevel, java.lang.String iMessage, java.lang.Object iSingleArg)
log will log to the input iLogger. The method name and class name are not resolved unless the log level is currently loggable- Parameters:
iLogger
-iDelegationLevel
- 1 means the class and method names from here, 2 means use the class and method names of the caller of this methodiLevel
-iMessage
-iSingleArg
-
-
log
public static void log(Logger iLogger, Level iLevel, java.lang.String iMessage, java.lang.Throwable iThrowable)
log will log to the input iLogger. The method name and class name are not resolved unless the log level is currently loggable- Parameters:
iLogger
-iLevel
-iMessage
-iThrowable
-
-
log
public static void log(Logger iLogger, int iDelegationLevel, Level iLevel, java.lang.String iMessage, java.lang.Throwable iThrowable)
log will log to the input iLogger. The method name and class name are not resolved unless the log level is currently loggable- Parameters:
iLogger
-iDelegationLevel
- 1 means the class and method names from here, 2 means use the class and method names of the caller of this methodiLevel
-iMessage
-iThrowable
-
-
log
public static void log(Logger iLogger, Level iLevel, java.lang.String iMessage)
log will log to the input iLogger. The method name and class name are not resolved unless the log level is currently loggable- Parameters:
iLogger
-iLevel
-iMessage
-
-
log
public static void log(Logger iLogger, int iDelegationLevel, Level iLevel, java.lang.String iMessage)
log will log to the input iLogger. The method name and class name are not resolved unless the log level is currently loggable- Parameters:
iLogger
-iDelegationLevel
- 1 means the class and method names from here, 2 means use the class and method names of the caller of this methodiLevel
-iMessage
-
-
getMethodName
protected static java.lang.String getMethodName(int iDepth)
getMethodName of the method on the call stack. You need to go up the stack by iDepth to get the one you really want.- Parameters:
iDepth
-- Returns:
-
getClassName
protected static java.lang.String getClassName(int iDepth)
getClassName of the class on the call stack. You need to go up the stack by iDepth to get the one you really want.- Parameters:
iDepth
-- Returns:
-
-