public class MbService extends Object
| Constructor and Description |
|---|
MbService() |
| Modifier and Type | Method and Description |
|---|---|
static void |
logError(Object source,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logError(String className,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logInformation(Object source,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logInformation(String className,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logWarning(Object source,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logWarning(String className,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
public static void logError(String className, String methodName, String resourceBundleName, String messageKey, String traceText, Object[] inserts) throws MbException
className - The name of the class generating the log message.methodName - The name of the method generating the log message.resourceBundleName - The resource bundle name.messageKey - The key to the message in the ResourceBundle.traceText - The text that is extra to the message indicated by the key.inserts - Array of Objects that constitutes the inserts into the
ResourceBundle message referenced by the messageKey.MbExceptionpublic static void logInformation(String className, String methodName, String resourceBundleName, String messageKey, String traceText, Object[] inserts) throws MbException
className - The name of the class generating the log message.methodName - The name of the method generating the log message.resourceBundleName - The resource bundle name.messageKey - The key to the message in the ResourceBundle.traceText - The text that is extra to the message indicated by the key.inserts - Array of Objects that constitutes the inserts into the
ResourceBundle message referenced by the messageKey.MbExceptionpublic static void logWarning(String className, String methodName, String resourceBundleName, String messageKey, String traceText, Object[] inserts) throws MbException
className - The name of the class generating the log message.methodName - The name of the method generating the log message.resourceBundleName - The resource bundle name.messageKey - The key to the message in the ResourceBundle.traceText - The text that is extra to the message indicated by the key.inserts - Array of Objects that constitutes the inserts into the
ResourceBundle message referenced by the messageKey.MbExceptionpublic static void logError(Object source, String methodName, String resourceBundleName, String messageKey, String traceText, Object[] inserts) throws MbException
source - The object generating the log message.methodName - The name of the method generating the log message.resourceBundleName - The resource bundle name.messageKey - The key to the message in the ResourceBundle.traceText - The text that is extra to the message indicated by the key.inserts - Array of Objects that constitutes the inserts into the
ResourceBundle message referenced by the messageKey.MbExceptionpublic static void logInformation(Object source, String methodName, String resourceBundleName, String messageKey, String traceText, Object[] inserts) throws MbException
source - The object generating the log message.methodName - The name of the method generating the log message.resourceBundleName - The resource bundle name.messageKey - The key to the message in the ResourceBundle.traceText - The text that is extra to the message indicated by the key.inserts - Array of Objects that constitutes the inserts into the
ResourceBundle message referenced by the messageKey.MbExceptionpublic static void logWarning(Object source, String methodName, String resourceBundleName, String messageKey, String traceText, Object[] inserts) throws MbException
source - The object generating the log message.methodName - The name of the method generating the log message.resourceBundleName - The resource bundle name.messageKey - The key to the message in the ResourceBundle.traceText - The text that is extra to the message indicated by the key.inserts - Array of Objects that constitutes the inserts into the
ResourceBundle message referenced by the messageKey.MbException