|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.common.logging.DomainLogger
A logger, that demands specifying a domain name or a domain class for logging.
| Method Summary | |
static boolean |
isLogging(int loggingLevel,
java.lang.Class domainClass)
Tests, whether messages will be logged at the given logging level |
static boolean |
isLogging(int loggingLevel,
java.lang.String domainName)
Tests, whether messages will be logged at the given logging level |
static void |
log(java.lang.Class domainClass,
java.lang.String message)
Logs a message, if logging is enabled for the logging level LoggingLevel.DEBUG. |
static void |
log(int loggingLevel,
java.lang.Class domainClass,
java.lang.String message)
Logs a message, if logging is enabled for the given logging level. |
static void |
log(int loggingLevel,
java.lang.String domainName,
java.lang.String message)
Logs a message, if logging is enabled for the given logging level. |
static void |
log(java.lang.String domainName,
java.lang.String message)
Logs a message, if logging is enabled for the logging level LoggingLevel.DEBUG. |
static void |
logError(int loggingLevel,
java.lang.Class domainClass,
java.lang.String message,
java.lang.Throwable exception)
Logs a message including an exception if logging is enabled for the given logging level. |
static void |
logError(int loggingLevel,
java.lang.Class domainClass,
java.lang.Throwable exception)
Logs an exception if logging is enabled for the given logging level. |
static void |
logError(int loggingLevel,
java.lang.String domainName,
java.lang.String message,
java.lang.Throwable exception)
Logs a message including an exception if logging is enabled for the given logging level. |
static void |
logError(int loggingLevel,
java.lang.String domainName,
java.lang.Throwable exception)
Logs an exception if logging is enabled for the given logging level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean isLogging(int loggingLevel,
java.lang.String domainName)
loggingLevel - the level to be tested, one of the constants from LoggingLevel
true, iff messages will be logged at the given level
public static void log(java.lang.String domainName,
java.lang.String message)
LoggingLevel.DEBUG.
message - the message to be logged
public static void log(int loggingLevel,
java.lang.String domainName,
java.lang.String message)
loggingLevel - the level to be tested, one of the constants from LoggingLevelmessage - the message to be logged
public static void logError(int loggingLevel,
java.lang.String domainName,
java.lang.String message,
java.lang.Throwable exception)
loggingLevel - the level to be tested, one of the constants from LoggingLevelmessage - the message to be loggedexception - the exception to be logged
public static void logError(int loggingLevel,
java.lang.String domainName,
java.lang.Throwable exception)
loggingLevel - the level to be tested, one of the constants from LoggingLevelexception - the exception to be logged
public static boolean isLogging(int loggingLevel,
java.lang.Class domainClass)
loggingLevel - the level to be tested, one of the constants from LoggingLevel
true, iff messages will be logged at the given level
public static void log(java.lang.Class domainClass,
java.lang.String message)
LoggingLevel.DEBUG.
message - the message to be logged
public static void log(int loggingLevel,
java.lang.Class domainClass,
java.lang.String message)
loggingLevel - the level to be tested, one of the constants from LoggingLevelmessage - the message to be logged
public static void logError(int loggingLevel,
java.lang.Class domainClass,
java.lang.String message,
java.lang.Throwable exception)
loggingLevel - the level to be tested, one of the constants from LoggingLevelmessage - the message to be loggedexception - the exception to be logged
public static void logError(int loggingLevel,
java.lang.Class domainClass,
java.lang.Throwable exception)
loggingLevel - the level to be tested, one of the constants from LoggingLevelexception - the exception to be logged
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||