Package org.openqa.selenium.logging
Class LogLevelMapping
- java.lang.Object
-
- org.openqa.selenium.logging.LogLevelMapping
-
public class LogLevelMapping extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LogLevelMapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getName(java.util.logging.Level level)
Converts the JDK level to a name supported by Selenium.static java.util.logging.Level
normalize(java.util.logging.Level level)
Normalizes the given level to one of those supported by Selenium.static java.util.logging.Level
toLevel(java.lang.String logLevelName)
-
-
-
Method Detail
-
normalize
public static java.util.logging.Level normalize(java.util.logging.Level level)
Normalizes the given level to one of those supported by Selenium.- Parameters:
level
- log level to normalize- Returns:
- the selenium supported corresponding log level
-
getName
public static java.lang.String getName(java.util.logging.Level level)
Converts the JDK level to a name supported by Selenium.- Parameters:
level
- log level to get the string name of- Returns:
- string name representation of the level selenium supports
-
toLevel
public static java.util.logging.Level toLevel(java.lang.String logLevelName)
-
-