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
All Methods Static Methods Concrete Methods 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 Detail
-
initLogger
public static void initLogger()
switch java.util.logging handler to slf4j.
-
quote
public static StringBuilder quote(StringBuilder buffer, String str)
quote control code, backslash and doublequote.- Parameters:
buffer- result buffer.str- raw string.- Returns:
- same as buffer.
-
quote
public static String quote(String str)
quote control code, backslash and doublequote.- Parameters:
str- raw string.- Returns:
- quoted string.
-
-