Class TestSuiteLogger
java.lang.Object
org.opengis.cite.citygml30part2.util.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.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLoggable(Level level) Indicates if the logger is enabled at a given logging level.static voidLogs a simple message at the specified logging level.static voidLogs a message at the specified logging level with the given Exception object that represents a noteworthy error condition.static voidLogs a message at the specified logging level with the given message parameters.
-
Method Details
-
log
Logs a message at the specified logging level with the given message parameters.- Parameters:
level- The logginglevel.message- A String representing the content of the log message.params- An array of message parameters.
-
log
Logs a message at the specified logging level with the given Exception object that represents a noteworthy error condition.- Parameters:
level- The logginglevel.message- A String representing the content of the log message.except- An object that indicates an exceptional situation.
-
log
Logs a simple message at the specified logging level.- Parameters:
level- The logginglevel.message- A String representing the content of the log message.
-
isLoggable
Indicates if the logger is enabled at a given logging level. Message levels lower than this value will be discarded.- Parameters:
level- The logginglevel.- Returns:
- true if the logger is currently enabled for this logging level; false otherwise.
-