Class SupportLogFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- io.jenkins.lib.support_log_formatter.SupportLogFormatter
-
public class SupportLogFormatter extends Formatter
Format log files in a nicer format that is easier to read and search.- Author:
- Stephen Connolly
-
-
Constructor Summary
Constructors Constructor Description SupportLogFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringabbreviateClassName(String fqcn, int targetLength)Stringformat(LogRecord record)protected StringformatTime(LogRecord record)static voidprintStackTrace(Throwable t, PrintStream ps)static voidprintStackTrace(Throwable t, PrintWriter pw)static StringprintThrowable(Throwable t)-
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
-
-
-
Method Detail
-
printStackTrace
public static void printStackTrace(Throwable t, PrintWriter pw)
-
printStackTrace
public static void printStackTrace(Throwable t, PrintStream ps)
-
-