Package jp.vmi.selenium.selenese.utils
Class LoggerUtils
java.lang.Object
jp.vmi.selenium.selenese.utils.LoggerUtils
public final class LoggerUtils extends Object
Utilities for logging.
-
Method Summary
Modifier and Type Method Description static voidinitLogger()switch java.util.logging handler to slf4j.static Stringquote(String str)quote control code, backslash and doublequote.static String[]quote(String[] strs)quote control code, backslash and doublequote for each strings.static StringBuilderquote(StringBuilder buffer, String str)quote control code, backslash and doublequote.
-
Method Details
-
initLogger
public static void initLogger()switch java.util.logging handler to slf4j. -
quote
quote control code, backslash and doublequote.- Parameters:
buffer- result buffer.str- raw string.- Returns:
- same as buffer.
-
quote
quote control code, backslash and doublequote.- Parameters:
str- raw string.- Returns:
- quoted string.
-
quote
quote control code, backslash and doublequote for each strings.- Parameters:
strs- raw strings.- Returns:
- quoted strings.
-