| java.lang.Object | |
| ↳ | com.microstrategy.utils.log.LoggerHelper |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ENTER | ||||||||||
| String | EXCEPTION | ||||||||||
| String | EXIT | ||||||||||
| String | NATIVE_BASE | ||||||||||
| String | PROPERTY | ||||||||||
| String | STATISTIC | Log records marked with STATISTIC must also contain two parameters: the key and value of the custom statistic respectively. | |||||||||
| String | THROWING | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LoggerHelper() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void | fixCorruptedLogFile(String logFileName) | ||||||||||
| static String | getDateTime(long millisec) | ||||||||||
| synchronized static Logger | getLogger(String loggerName) | ||||||||||
| static String | getStackTrace(Throwable e) | ||||||||||
| static boolean | getSuppressNextErrorLog() | ||||||||||
| static Logger | initLogger(String loggerName) | ||||||||||
| static void | initLogger(Logger logger) | ||||||||||
| static void |
setSuppressNextErrorLog(boolean suppress)
If set to true, the next error that would normally be logged in this thread
is not logged.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Log records marked with STATISTIC must also contain two parameters: the key and value of the custom statistic respectively.
If set to true, the next error that would normally be logged in this thread is not logged.