Class DefaultThrowableFormatter
- java.lang.Object
-
- com.elvishew.xlog.formatter.message.throwable.DefaultThrowableFormatter
-
- All Implemented Interfaces:
Formatter<java.lang.Throwable>,ThrowableFormatter
public class DefaultThrowableFormatter extends java.lang.Object implements ThrowableFormatter
Simply put each stack trace(method name, source file and line number) of the throwable in a single line.
-
-
Constructor Summary
Constructors Constructor Description DefaultThrowableFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(java.lang.Throwable tr)Format the data to a readable and loggable string.
-