public class TestSuiteLogger extends Object
src/main/config/logging.properties.LogManager| Modifier and Type | Field and Description |
|---|---|
static String |
ETS_LOGGER_NAME |
| Modifier and Type | Method and Description |
|---|---|
static Logger |
getLogger()
Finds or creates the test suite logger.
|
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.
|
public static final String ETS_LOGGER_NAME
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.public static Logger getLogger()
Copyright © 2021 Open Geospatial Consortium. All rights reserved.