public class MbService
extends java.lang.Object
Constructor and Description |
---|
MbService() |
Modifier and Type | Method and Description |
---|---|
static void |
logError(java.lang.Object source,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logError(java.lang.String className,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logInformation(java.lang.Object source,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logInformation(java.lang.String className,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logUserDebugTrace(java.lang.Object source,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.String[] inserts)
Writes a message to the user trace facility at the debug level.
|
static void |
logUserTrace(java.lang.Object source,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.String[] inserts)
Writes a message to the user trace facility.
|
static void |
logWarning(java.lang.Object source,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
static void |
logWarning(java.lang.String className,
java.lang.String methodName,
java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.String traceText,
java.lang.Object[] inserts)
Writes a error/information/warning message to the event log (Windows) or the SYSLOG facility (other platforms).
|
public static void logError(java.lang.String className, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.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.MbException
public static void logInformation(java.lang.String className, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.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.MbException
public static void logWarning(java.lang.String className, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.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.MbException
public static void logError(java.lang.Object source, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.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
public static void logInformation(java.lang.Object source, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.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
public static void logWarning(java.lang.Object source, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.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
public static void logUserTrace(java.lang.Object source, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.String[] 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
public static void logUserDebugTrace(java.lang.Object source, java.lang.String methodName, java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.String traceText, java.lang.String[] 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