|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opengis.cite.osxgeotime.util.TestSuiteLogger
public class TestSuiteLogger
Logging utility class that provides simple access to the JDK Logging API. Set
the "java.util.logging.config.file" system property to specify the location
of the desired logging configuration file. A sample configuration file is
available at src/main/config/logging.properties
.
LogManager
Method Summary | |
---|---|
static boolean |
isLoggable(Level level)
Indicates if the logger is enabled at a given logging level. |
static void |
log(Level level,
String message)
Logs a simple message at the specified logging level. |
static void |
log(Level level,
String message,
Exception except)
Logs a message at the specified logging level with the given Exception object that represents a noteworthy error condition. |
static void |
log(Level level,
String message,
Object[] params)
Logs a message at the specified logging level with the given message parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void log(Level level, String message, Object[] params)
level
- The logging level
.message
- A String representing the content of the log message.params
- An array of message parameters.public static void log(Level level, String message, Exception except)
level
- The logging level
.message
- A String representing the content of the log message.except
- An object that indicates an exceptional situation.public static void log(Level level, String message)
level
- The logging level
.message
- A String representing the content of the log message.public static boolean isLoggable(Level level)
level
- The logging level
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |