Class SupportLogFormatter
java.lang.Object
java.util.logging.Formatter
io.jenkins.lib.support_log_formatter.SupportLogFormatter
Format log files in a nicer format that is easier to read and search.
- Author:
- Stephen Connolly
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabbreviateClassName(String fqcn, int targetLength) protected StringformatTime(LogRecord record) static voidprintStackTrace(Throwable t, PrintStream ps) static voidprintStackTrace(Throwable t, PrintWriter pw) static StringMethods inherited from class Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
SupportLogFormatter
public SupportLogFormatter()
-
-
Method Details
-
formatTime
-
format
-
abbreviateClassName
-
printThrowable
-
printStackTrace
-
printStackTrace
-