public class

LoggerHelper

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.log.LoggerHelper

Summary

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

Constants

public static final String ENTER

Constant Value: "ENTRY"

public static final String EXCEPTION

Constant Value: "EXCEPTION"

public static final String EXIT

Constant Value: "RETURN"

public static final String NATIVE_BASE

Constant Value: "MBNTVSUP"

public static final String PROPERTY

Constant Value: "Property value"

public static final String STATISTIC

Log records marked with STATISTIC must also contain two parameters: the key and value of the custom statistic respectively.

Constant Value: "STATISTIC"

public static final String THROWING

Constant Value: "THROW"

Public Constructors

public LoggerHelper ()

Public Methods

public static void fixCorruptedLogFile (String logFileName)

public static String getDateTime (long millisec)

public static synchronized Logger getLogger (String loggerName)

public static String getStackTrace (Throwable e)

public static boolean getSuppressNextErrorLog ()

public static Logger initLogger (String loggerName)

public static void initLogger (Logger logger)

public static void setSuppressNextErrorLog (boolean suppress)

If set to true, the next error that would normally be logged in this thread is not logged.